Module Name: src
Committed By: pgoyette
Date: Wed Nov 21 19:30:53 UTC 2012
Modified Files:
src/usr.bin/su: su.1
Log Message:
Note that 'su -l' does not update utmp and related databases.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/su/su.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/su/su.1
diff -u src/usr.bin/su/su.1:1.49 src/usr.bin/su/su.1:1.50
--- src/usr.bin/su/su.1:1.49 Mon May 18 09:37:44 2009
+++ src/usr.bin/su/su.1 Wed Nov 21 19:30:53 2012
@@ -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 @@ is imported from your current environmen
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 .