Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/su Note that 'su -l' does not update utmp and relate...



details:   https://anonhg.NetBSD.org/src/rev/84ebc79216be
branches:  trunk
changeset: 782821:84ebc79216be
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Nov 21 19:30:53 2012 +0000

description:
Note that 'su -l' does not update utmp and related databases.

diffstat:

 usr.bin/su/su.1 |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 45b87f84db9e -r 84ebc79216be usr.bin/su/su.1
--- a/usr.bin/su/su.1   Wed Nov 21 19:19:24 2012 +0000
+++ b/usr.bin/su/su.1   Wed Nov 21 19:30:53 2012 +0000
@@ -26,9 +26,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"    from: @(#)su.1  8.2 (Berkeley) 4/18/94
-.\"    $NetBSD: su.1,v 1.49 2009/05/18 09:37:44 wiz Exp $
+.\"    $NetBSD: su.1,v 1.50 2012/11/21 19:30:53 pgoyette Exp $
 .\"
-.Dd October 27, 2007
+.Dd November 20, 2012
 .Dt SU 1
 .Os
 .Sh NAME
@@ -186,6 +186,12 @@
 The invoked shell is the target login's, and
 .Nm
 will change directory to the target login's home directory.
+The
+.Xr utmp 5 ,
+.Xr wtmp 5 ,
+and
+.Xr lastlogin 5
+databases are not updated.
 .It Fl
 Same as
 .Fl l .



Home | Main Index | Thread Index | Old Index