Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jun 2016 15:24:28 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        Johan Hendriks <joh.hendriks@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: User login information on console
Message-ID:  <alpine.BSF.2.20.1606031523530.89670@mail.fig.ol.no>
In-Reply-To: <0fe96fb9-b6af-777e-9c40-d2552e05a045@gmail.com>
References:  <0fe96fb9-b6af-777e-9c40-d2552e05a045@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 3 Jun 2016 14:13+0200, Johan Hendriks wrote:

> Is it possible to print this to all logged in root users with a ssh session?

See the examples in syslog.conf(8).

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Fri Jun  3 13:27:33 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70689B68460
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Fri,  3 Jun 2016 13:27:33 +0000 (UTC)
 (envelope-from trond@fagskolen.gjovik.no)
Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no
 [IPv6:2001:700:1100:1:200:ff:fe00:b])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "smtp.fagskolen.gjovik.no",
 Issuer "Fagskolen i Gj??vik" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 07DB01E86
 for <freebsd-questions@freebsd.org>; Fri,  3 Jun 2016 13:27:32 +0000 (UTC)
 (envelope-from trond@fagskolen.gjovik.no)
Received: from mail.fig.ol.no (localhost [127.0.0.1])
 by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id u53DRPPa085175
 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Fri, 3 Jun 2016 15:27:25 +0200 (CEST)
 (envelope-from trond@fagskolen.gjovik.no)
Received: from localhost (trond@localhost)
 by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id u53DRPUT085172;
 Fri, 3 Jun 2016 15:27:25 +0200 (CEST)
 (envelope-from trond@fagskolen.gjovik.no)
X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs
Date: Fri, 3 Jun 2016 15:27:25 +0200 (CEST)
From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Sender: Trond.Endrestol@fagskolen.gjovik.no
To: Johan Hendriks <joh.hendriks@gmail.com>
cc: freebsd-questions@freebsd.org
Subject: Re: User login information on console
In-Reply-To: <alpine.BSF.2.20.1606031523530.89670@mail.fig.ol.no>
Message-ID: <alpine.BSF.2.20.1606031526570.89670@mail.fig.ol.no>
References: <0fe96fb9-b6af-777e-9c40-d2552e05a045@gmail.com>
 <alpine.BSF.2.20.1606031523530.89670@mail.fig.ol.no>
User-Agent: Alpine 2.20 (BSF 67 2015-01-07)
Organization: Fagskolen Innlandet
OpenPGP: url=http://fig.ol.no/~trond/trond.key
MIME-Version: 1.0
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham
 autolearn_force=no version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT
X-Content-Filtered-By: Mailman/MimeDel 2.1.22
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2016 13:27:33 -0000

On Fri, 3 Jun 2016 15:24+0200, Trond Endrestøl wrote:

> On Fri, 3 Jun 2016 14:13+0200, Johan Hendriks wrote:
> 
> > Is it possible to print this to all logged in root users with a ssh session?
> 
> See the examples in syslog.conf(8).

Sorry, that's syslog.conf(5).

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-questions@freebsd.org  Fri Jun  3 13:31:04 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 957B2B68548
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Fri,  3 Jun 2016 13:31:04 +0000 (UTC)
 (envelope-from b.manas.88@gmail.com)
Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com
 [IPv6:2607:f8b0:400d:c04::22d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 50E0D10CA
 for <freebsd-questions@freebsd.org>; Fri,  3 Jun 2016 13:31:04 +0000 (UTC)
 (envelope-from b.manas.88@gmail.com)
Received: by mail-qg0-x22d.google.com with SMTP id q32so11492727qgq.3
 for <freebsd-questions@freebsd.org>; Fri, 03 Jun 2016 06:31:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=message-id:date:subject:from:to:in-reply-to:mime-version
 :content-transfer-encoding;
 bh=h4Md2kRAKh6yiWbwjcv1hkdyjGFyyYTODKAuWhcgCvo=;
 b=gMgOAP2MWwlIYn2u9vxIROWzHVItdbcfdeALwb4dKMNoMHdsvHY7u/vN5xAznVT1TK
 7NzxLzATkXhHLv7JpjxHmZlVLIaEleDLq0tOp/DVuOK0BurSdO9P8E1tx/lM85CIE/2X
 xwy15GJgUsRxQCh0O4HFuzdDm2uc8s1kUOH1o/+Kms4ZR4Jam2rLGbd77bpK8wp2WIB5
 q/qM2HV0qt2RZ6ORJkkSHfvyOLxZ6P5XV8pop5bTC8LH1lban/CfxaR4r4eubp9BDfRU
 EqlEoKdDRwb5cTcMw9hZsRvgyboJMKRWDxTNqfNqR3P4Rdrs8o5o6J4SajAQ6kcF+NCn
 1Wyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:message-id:date:subject:from:to:in-reply-to
 :mime-version:content-transfer-encoding;
 bh=h4Md2kRAKh6yiWbwjcv1hkdyjGFyyYTODKAuWhcgCvo=;
 b=B5zNRk3miTQ/CjzteOPEhJU7t2xSqHsyGR5zB9W7vx5N76vE4AwRJETPRJsod5u7XN
 PjBKmXWpkfwmXM4hLJDyfgIxHW/UZWa0eKUiTZN5LC5AlbjAYIlulQxhyso5COqifj5H
 uXixxcTjK4wHv85b2g1Zt2t6I3Qx+BoxkDMmuyBpGJi8ITpHuDX2I7x/naFcssVEm2Ja
 0F5tpXVENCCvQlF1kyHLtfe4Q6hq/A5ApBNLOLM9rfo4sQEmWG0NMaJULYma+LHKmJ1F
 O11NUbTgwyuby2cxrAaQub2wZ0AYmOwcMafgpQgX7tjGIAfg1MZQ0MS51aQC3wUDe7uN
 99mw==
X-Gm-Message-State: ALyK8tLTjVucCOoeEgAANvoU/fblQDCQNziMORFyWFp6vPh+NiNEenLx94RBi155YWeMnw==
X-Received: by 10.140.23.37 with SMTP id 34mr3133831qgo.14.1464960663484;
 Fri, 03 Jun 2016 06:31:03 -0700 (PDT)
Received: from [10.205.119.200] ([209.171.88.200])
 by smtp.gmail.com with ESMTPSA id 17sm1035202qgo.49.2016.06.03.06.31.02
 (version=TLSv1/SSLv3 cipher=OTHER);
 Fri, 03 Jun 2016 06:31:02 -0700 (PDT)
Message-ID: <57518696.11178c0a.0470.5e3b@mx.google.com>
Date: Fri, 03 Jun 2016 09:30:57 -0400
Subject: Re: User login information on console
From: Manas Bhatnagar <b.manas.88@gmail.com>
To: Johan Hendriks <joh.hendriks@gmail.com>, "freebsd-questions@freebsd.org"
 <freebsd-questions@freebsd.org>
In-Reply-To: <0fe96fb9-b6af-777e-9c40-d2552e05a045@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>;
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Jun 2016 13:31:04 -0000

PklmIHNvbWVvbmUgbG9ncyBpbiBhbmQgc3UgdG8gcm9vdCwgdGhlbiB0aGVyZSBpcyBhIGxpbmUg
cHJpbnRlZCA+b24gdGhlCj5maXJzdCBjb25zb2xlLgo+SXMgaXQgcG9zc2libGUgdG8gcHJpbnQg
dGhpcyB0byBhbGwgbG9nZ2VkIGluIHJvb3QgdXNlcnMgd2l0aCBhID5zc2ggc2Vzc2lvbj8KCklm
IHlvdSBydW4gYSBzY3JpcHQgdG8gd2F0Y2ggZm9yIGFueSBjaGFuZ2VzIHRvIC92YXIvbG9nL2F1
dGgubG9nLCB5b3UgbWF5IGJlIGFibGUgdG8gd2F0Y2ggZm9yIG1lc3NhZ2VzIGFib3V0ICJzdSB0
byByb290IiBhbmQgdGhlbiB1c2UgJ3dhbGwnIHRvIGJyb2FkY2FzdCBhIG1lc3NhZ2UgdG8gdXNl
cnMgd2hvIGFyZSByb290PyBUaGlzIG1pZ2h0IHdvcmsgYnV0IEknbSBub3QgcmVhbGx5IHN1cmUu
CgpNYW5hcw==




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1606031523530.89670>