*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> sulog (4)              
Title
Content
Arch
Section
 

Contents


sulog(4)							      sulog(4)


NAME    [Toc]    [Back]

     sulog - log of all	su attempts

DESCRIPTION    [Toc]    [Back]

     The su command attempts to	write an entry to the file specified by	SULOG
     in	/etc/default/su	(/var/adm/sulog	by default) each time it is invoked,
     regardless	of outcome.  If	sulog doesn't exist, su	attempts to create it,
     setting owner and group to	that of	the directory in which the file
     resides (root.sys if /var/adm), and mode to read/write for	owner only.
     (Because su executes with root privileges,	this operation should succeed;
     if	it does	fail, however, subsequent invocations of su will be recorded
     only by other logging mechanisms selected in /etc/default/su, if any; see
     su(1M)).

     sulog is an ASCII file, and each of its entries (or records) contains 6
     fields of information about a particular su invocation, using a single
     space character as	delimiter.  Field 1 is always "SU".  Field 2 contains
     the date in "mm/dd" format, with "mm" ranging from	"01" to	"12", "dd"
     from "01 to "31".	Field 3	is the 24-hour time in "hh:mm" format, with
     "hh" ranging from "01" to "23", "mm" from "00" to "59".  Field 4
     indicates the outcome of the su: '+' means	it succeeded, '-' means	it was
     disallowed. Field 5 is the	tty on which the su executed (as determined by
     ttyname(3C)), or "???" if the process had no controlling terminal.	 Field
     6 identifies the usernames	involved, and has the format "oldusernewuser",
 where "olduser" is the invoking username, "newuser" the
     requested new username.

FILES    [Toc]    [Back]

     /var/adm/sulog	log file
     /etc/default/su	defaults file

SEE ALSO    [Toc]    [Back]

      
      
     su(1M), ttyname(3C)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
tis_write_trylock Tru64 Attempts to acquire the specified
loginlog IRIX log of failed login attempts
tis_mutex_trylock Tru64 Attempts to lock the specified mutex
unknown IRIX Handle attempts to use non-existent commands
Foreign Tru64 Logs contact attempts from unknown systems
pthread_mutex_trylock Tru64 Attempts to lock the specified mutex, without waiting if already locked
remote.unknown Tru64 Logs access attempts by unknown remote systems
pthread_rwlock_tryrdlock Tru64 Attempts to acquire a readwrite lock for read access without waiting
pthread_rwlock_trywrlock Tru64 Attempts to acquire a readwrite lock for write access without waiting
blackhole FreeBSD a sysctl(8) MIB for manipulating behaviour in respect of refused TCP or UDP connection attempts
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service