Sponsored Content
Full Discussion: Default system users
Operating Systems AIX Default system users Post 302221973 by lo-lp-kl on Tuesday 5th of August 2008 04:31:03 PM
Old 08-05-2008
Default system users

The principal reason its for security. that I want to lock this user account.

But I would to hear your opinions.


Thanks again
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX Unix.. number of users on system in a particular group

Does anyone know what pipe string might be used to determine how many people are logged onto an AIX system where a group ID begins with lets say 4. In other words, I am looking to query the system for the number of people currently logged onto a system that belong to any group starting with 4.... (1 Reply)
Discussion started by: afiore
1 Replies

2. UNIX for Dummies Questions & Answers

Find users using system(List them only once)

Hey, got a few questions here for anyone who can help...... Command line to - display users using the system, but count them only once. Command line to - use the lastcomm command to display how many times ive used grep in october. Command line to - list all logged on users with at least 6... (3 Replies)
Discussion started by: xBuRnTx
3 Replies

3. Shell Programming and Scripting

How can i use system users in perl for login page

Hi, I want to code a script with perl. For this, I need some knowledge. How can i use system user name(with group) and password in my login page? I will be happy if you can help me (2 Replies)
Discussion started by: tahsinaltay
2 Replies

4. Shell Programming and Scripting

Bash Help: users who are not logged into the system to display

A Newbie here, I am working on a script and am having problems with the else part of the script. I can't get the users who are not logged into the system to display on the screen with their username and the text "The user is not logged in". I am sure it is something simple and stupid, but I... (5 Replies)
Discussion started by: rchirico
5 Replies

5. UNIX for Advanced & Expert Users

Best practices with AIX system users?

All, Preliminaries: AIX 5.2 Tivoli Maestro 6.1 (9.2) I am auditing an older AIX system. As it stands, I can login remotely to the system using the Maestro application's user account. This is BAD. The administrator claims that he cannot disable the remote login, because it will... (1 Reply)
Discussion started by: Thatto
1 Replies

6. Emergency UNIX and Linux Support

List of users on an AIX system

Is there a way to generate a list of users with name, user ID, and Security Group? It is urgent for audit purposes. Please help. (5 Replies)
Discussion started by: ggayathri
5 Replies

7. Homework & Coursework Questions

Find out the System users

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I want to create a file called Allusers that contains the list of currently logged on users and the total number... (2 Replies)
Discussion started by: ahm2008
2 Replies

8. UNIX for Dummies Questions & Answers

List system users and..

Hello i need fast help... script which will list only human users from /etc/passwd and find out if they have something in home. Thanks (11 Replies)
Discussion started by: mentoscz
11 Replies

9. UNIX for Dummies Questions & Answers

Users logged into the system

So I'm trying to write a single line command So I have to use last first in this command and I've figured out the format my professor wants it in, something like thislast | cut -d' ' -f1,15 | sort > check | uniq -c.... and I never can get it right, when I just last command I get something... (2 Replies)
Discussion started by: DoubleAlpha
2 Replies
who(1)								   User Commands							    who(1)

NAME
who - who is on the system SYNOPSIS
/usr/bin/who [-abdHlmpqrstTu] [file] /usr/bin/who -q [-n x] [file] /usr/bin/who am i /usr/bin/who am I /usr/xpg4/bin/who [-abdHlmpqrtTu] [file] /usr/xpg4/bin/who -q [-n x] [file] /usr/xpg4/bin/who -s [-bdHlmpqrtu] [file] /usr/xpg4/bin/who am i /usr/xpg4/bin/who am I DESCRIPTION
The who utility can list the user's name, terminal line, login time, elapsed time since activity occurred on the line, and the process-ID of the command interpreter (shell) for each current UNIX system user. It examines the /var/adm/utmpx file to obtain its information. If file is given, that file (which must be in utmpx(4) format) is examined. Usually, file will be /var/adm/wtmpx, which contains a history of all the logins since the file was last created. The general format for output is: name [state] line time [idle] [pid] [comment] [exit] where: name User's login name state Capability of writing to the terminal line Name of the line found in /dev time Time since user's login idle Time elapsed since the user's last activity pid User's process id comment Comment line in inittab(4) exit Exit status for dead processes OPTIONS
The following options are supported: -a Processes /var/adm/utmpx or the named file with -b, -d, -l, -p, -r, -t, -T, and -u options turned on. -b Indicates the time and date of the last reboot. -d Displays all processes that have expired and not been respawned by init. The exit field appears for dead processes and contains the termination and exit values (as returned by wait(3UCB)), of the dead process. This can be useful in determining why a process terminated. -H Outputs column headings above the regular output. -l Lists only those lines on which the system is waiting for someone to login. The name field is LOGIN in such cases. Other fields are the same as for user entries except that the state field does not exist. -m Outputs only information about the current terminal. -n x Takes a numeric argument, x, which specifies the number of users to display per line. x must be at least 1. The -n option can only be used with -q. -p Lists any other process that is currently active and has been previously spawned by init. The name field is the name of the pro- gram executed by init as found in /sbin/inittab. The state, line, and idle fields have no meaning. The comment field shows the id field of the line from /sbin/inittab that spawned this process. See inittab(4). -q (Quick who) Displays only the names and the number of users currently logged on. When this option is used, all other options are ignored. -r Indicates the current run-level of the init process. -s (Default) Lists only the name, line, and time fields. /usr/bin/who -T Same as the -s option, except that the state idle, pid, and comment, fields are also written. state is one of the following charac- ters: + The terminal allows write access to other users. - The terminal denies write access to other users. ? The terminal write-access state cannot be determined. /usr/xpg4/bin/who -T Same as the -s option, except that the state field is also written. state is one of the characters listed under the /usr/bin/who version of this option. If the -u option is used with -T, the idle time is added to the end of the previous format. -t Indicates the last change to the system clock (using the date utility) by root. See su(1M) and date(1). -u Lists only those users who are currently logged in. The name is the user's login name. The line is the name of the line as found in the directory /dev. The time is the time that the user logged in. The idle column contains the number of hours and minutes since activity last occurred on that particular line. A dot (.) indicates that the terminal has seen activity in the last minute and is therefore ``current.'' If more than twenty-four hours have elapsed or the line has not been used since boot time, the entry is marked old. This field is useful when trying to determine whether a person is working at the terminal or not. The pid is the process-ID of the user's shell. The comment is the comment field associated with this line as found in /sbin/inittab (see init- tab(4)). This can contain information about where the terminal is located, the telephone number of the dataset, type of terminal if hard-wired, and so forth. OPERANDS
The following operands are supported: am i In the "C" locale, limits the output to describing the invoking user, equivalent to the -m option. The am and i or I must be sepa- am I rate arguments. file Specifies a path name of a file to substitute for the database of logged-on users that who uses by default. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of who: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, LC_TIME, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/sbin/inittab Script for init /var/adm/utmpx Current user and accounting information /var/adm/wtmpx Historic user and accounting information ATTRIBUTES
See attributes(5) for descriptions of the following attributes: /usr/bin/who +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ /usr/xpg4/bin/who +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxcu4 | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
date(1), login(1), mesg(1), init(1M), su(1M), wait(3UCB), inittab(4), utmpx(4), attributes(5), environ(5), standards(5) NOTES
Superuser: After a shutdown to the single-user state, who returns a prompt. Since /var/adm/utmpx is updated at login time and there is no login in single-user state, who cannot report accurately on this state. The command, who am i, however, returns the correct information. SunOS 5.11 3 Nov 2000 who(1)
All times are GMT -4. The time now is 09:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy