06-09-2008
$ ypcat passwd | grep 1212
10 More Discussions You Might Find Interesting
1. AIX
what is the upper limit for UID is AIX 5.3 ? (1 Reply)
Discussion started by: learner
1 Replies
2. UNIX for Advanced & Expert Users
I want to know the command through which we can know the expiry date
of the password.
I tried chage but it is not working on my system please provide
necessary information
I am not using root
I need info on user level (2 Replies)
Discussion started by: irshad
2 Replies
3. Shell Programming and Scripting
Hi All,
I need to change the UID numbers of many NIS users, is there any command to modify the UID in NIS maps ? ( like usermod) so that their file permissions will be same even with their new UID.
If not, how to check all the files owned by particular user in a computer and change the... (1 Reply)
Discussion started by: RAA
1 Replies
4. UNIX for Dummies Questions & Answers
How can I identify usernames on UNIX, when these users don't access the server, they access folders on this server. Is it possible? :confused: (4 Replies)
Discussion started by: DyDyLc
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I know the user's UID, but I need to know the user's username which has this UID. How can I do it?? Any ideas?
Thanks! (7 Replies)
Discussion started by: rodrigoroma
7 Replies
6. Shell Programming and Scripting
Hi,
I need to get the value of 'uid' from a line in file f1. For example, in the line below, I need to get the value '150', from the 'anonuid=150' key, and I need to verify that this is a valid uid by checking it against /etc/passwd (i.e) I want to compare this uid, 150 (or more if there are any... (2 Replies)
Discussion started by: royalibrahim
2 Replies
7. Shell Programming and Scripting
Hi, I want to write a script to check whether an user ID is used in my server and then create that user.
If the user ID is not used, I will echo something like "OK, continue" and then continue to execute the script. Else, I will echo something like "Used, exit" and then exit the script.
As... (4 Replies)
Discussion started by: dirkaulo
4 Replies
8. UNIX for Advanced & Expert Users
Hi,
As the /etc/passwd file contents all system and other users accounts on a linux/unix system, can anyone tell me what is the User ID values range for human user accounts (not system user accounts) on a linux (Red Hat/SuSE etc) and Unix (Solaris) OS.
I heard below number 100, all users are... (2 Replies)
Discussion started by: sanzee007
2 Replies
9. Shell Programming and Scripting
Hi,
'ps -ef' returns output of the following format
UID PID PPID C STIME TTY TIME CMD
root 17573 1 0 Sep12 tty6 00:00:00 /sbin/mingetty tty6
hpsmh 18150 14864 0 Sep12 ? 00:00:00 /opt/hp/hpsmh/sbin/hpsmhd -DSSL -f /opt/hp/hpsmh/conf/smhpd.conf
root ... (3 Replies)
Discussion started by: ysrini
3 Replies
10. AIX
Hi Everyone,
We are encountering the following issue on AIX 5.3. When we do ls -ltr the list displays only user id and group id instead of user name and group name.
This is happening for all users except root. Whe we do ls -ltr with root user it shows perfectly fine.
When we searched... (25 Replies)
Discussion started by: madhav.kunapa
25 Replies
ypcat(1) User Commands ypcat(1)
NAME
ypcat - print values in a NIS database
SYNOPSIS
ypcat [-kx] [-d ypdomain] mname
DESCRIPTION
The ypcat command prints out values in the NIS name service map specified by mname, which may be either a map name or a map nickname. Since
ypcat uses the NIS network services, no NIS server is specified.
Refer to ypfiles(4) for an overview of the NIS name service.
OPTIONS
-k Display the keys for those maps in which the values are null or the key is not part of the value. None of the maps derived
from files that have an ASCII version in /etc fall into this class.
-d ypdomain Specify a domain other than the default domain.
-x Display map nicknames.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypmatch(1), ypfiles(4), attributes(5)
SunOS 5.10 23 Jan 1995 ypcat(1)