sulog(4) File Formats sulog(4)NAME
sulog - su command log file
SYNOPSIS
/var/adm/sulog
DESCRIPTION
The sulog file is a record of all attempts by users on the system to execute the su(1M) command. Each time su(1M) is executed, an entry
is added to the sulog file.
Each entry in the sulog file is a single line of the form:
SU date time
result port user-newuser
where
date The month and date su(1M) was executed. date is displayed in the form mm/dd where mm is the month number and dd is the
day number in the month.
time The time su(1M) was executed. time is displayed in the form HH/MM where HH is the hour number (24 hour system) and MM
is the minute number.
result The result of the su(1M) command. A ` + ' sign is displayed in this field if the su attempt was successful; otherwise a
` - ' sign is displayed.
port The name of the terminal device from which su(1M) was executed.
user The user id of the user executing the su(1M) command.
newuser The user id being switched to with su(1M).
EXAMPLES
Example 1: A sample sulog file.
Here is a sample sulog file:
SU 02/25 09:29 + console root-sys
SU 02/25 09:32 + pts/3 user1-root
SU 03/02 08:03 + pts/5 user1-root
SU 03/03 08:19 + pts/5 user1-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/09 14:24 - pts/5 guest3-root
SU 03/14 08:31 + pts/4 user1-root
FILES
/var/adm/sulog su log file
/etc/default/su contains the default location of sulog
SEE ALSO su(1M)SunOS 5.10 6 Jun 1994 sulog(4)
Check Out this Related Man Page
PTS_QUIT(1) AFS Command Reference PTS_QUIT(1)NAME
pts_quit - Exit from pts interactive mode
SYNOPSIS
pts quit [-cell] <cell name> [-noauth] [-localauth]
[-force]
pts q [-c] <cell name> [-n] [-l] [-f]
DESCRIPTION
The pts quit command exits from pts interactive mode. The command can be run from the command line or interactively, but on the command
line it does nothing and is therefore of questionable utility.
CAUTIONS
Prior to OpenAFS 1.4.5 and OpenAFS 1.5.23, the pts quit command was only available on Unix or Linux and when OpenAFS was compiled with the
supergroups option (disabled by default). As of OpenAFS 1.4.5 and 1.5.23, it is always available.
OPTIONS
Although they have no effect, pts quit takes the following standard pts options:
-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).
-force
Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the
first error.
-help
Prints the online help for this command. All other valid options are ignored.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or
-noauth options. For more details, see pts(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).
OUTPUT
This command produces no output.
EXAMPLES
Here is an example of a pts interactive session:
% pts interactive
pts> quit
%
SEE ALSO pts(1), pts_interactive(1)COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for
OpenAFS.
OpenAFS 2014-04-08 PTS_QUIT(1)
Hi all,
i used to have user1 account on my box, then i deleted this account. But i keep on getting emails from sendmail:
From: user1@mydomain.com
To:user1@mydomain.com .... User not found!!!
I'm getting like hundreds of this emails everyday to root. I've checked my mgueue and spool there... (8 Replies)
# date;ps -ef|grep confused.
Tue Dec 13 11:11:22 EST 2005
root 12847 12733 0 11:21 pts/83 00:00:00 grep confused.
I am really confused on why my ps and my date command are returning different values for the time. Anyone know how to resolve this?
Running FC2, if it helps. (14 Replies)
Hi
I want to insert a space between the result of the following command.
day=$(date %d)
i get the result as ------- Sep 2
i want to get the result as Sep 2(two space between Sep and 2)
how can i get this...
is this possible wid awk??:confused: (12 Replies)
Guy's
we are in AIX 5.3
We have created two users user1 and user2 and they are under same group Staff Group
user1 will create file under /tmp/ and this is the permission of this file
-rw-r--r-- 1 user1 staff 1 Jun 13 09:47 file
user2 is under same group and when he... (14 Replies)
Hi Experts,
I have set access control to a directory which is under / as /proj1 and set the access to user1 as below
Once I logging as user1 I am able to create and modify the file which is created by user1 however I am unable to edit / modify the file which is own by root.... (14 Replies)
HI All,
I am having a file with content
-rw-r----- 1 root system 0 Jun 03 01:50 /etc/name_v1
-rw-r----- 1 root system 0 Jun 03 01:50 /etc/name_v2
-rw-r----- 1 root system 0 Jun 03 01:50 /etc/name_v3
From this, i need find out only '/etc/name_v3' of the last line(last part of the last... (10 Replies)
Hi Gurus,
I've been having some problem in extracting the log data based on the current date and month.
As shown in the sample data below, how to extract the log info for Aug 11?
Sample data:
root pts/ta userpc Wed Aug 11 09:46 - 20:21 (10:35)
root pts/ta userpc... (13 Replies)
I need an if code in shell script where it should continue to further commands after succesfully installing the executable file.
i.e. /run installer is continuing but in the middle it executes further commands like "cp /root/user which were given after /run installer.
I want /runinstaller... (16 Replies)
scp 123.txt user1@computer1.com:..//john_x1/lab
scp 123.txt user1@computer1.com:../john_x1/lab
What is the difference between single and slash here and in general?
How to copy if we have a unique directory somewhere? Is some of above ways more prefered or... better solutions exists???
... (8 Replies)
Hi
I have this sample data set as follows (called file.txt):
hostname1:user1:password
hostname2:user1:password #comments comments
hostname3:user1:passwordI wish to produce a report as follows:
hostname1 user1 password
hostname2 user1 password
hostname3 user1 passwordie remove all... (11 Replies)
Hi,
I am facing a problem with the command - TOUCH on Linux.
See the example below:
File on Linux: rw-rw-r-- user1 user1 Jan 01 09:00 test.txt
The file - test.txt was created by the user - user1.
Now, I want to change the date and time, but using other user - user2
The user2... (12 Replies)
I have a process that requires me to read data from huge log files and find the most recent entry on a per-user basis. The number of users may fluctuate wildly month to month, so I can't code for it with names or a set number of variables to capture the data, and the files are large so I don't... (7 Replies)
Hi,
I need to grant read permission to a normal user on sulog file on AIX 6.1.
As root I did acledit sulog and aclget shows "extended permissions" as "enabled" and normal user "splunk" has read permissions. When I try to access sulog as splunk user it won't allow and aclget for splunk user... (6 Replies)