![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| search for the contents in many file and print that file using shell script | cdfd123 | Shell Programming and Scripting | 3 | 10-07-2007 07:17 PM |
| Creating file contents using contents of another file | ReV | Shell Programming and Scripting | 21 | 02-24-2006 07:25 AM |
| /etc/passwd file | s_mad010 | Security | 4 | 12-06-2005 05:14 AM |
| Reading specific contents from a file and appending it to another file | dnicky | Shell Programming and Scripting | 5 | 10-04-2005 02:45 AM |
| ls contents of a file | douknownam | Shell Programming and Scripting | 7 | 06-14-2004 06:29 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi All
Here is a the enty for my user on a UNIX from the /etc/passwd file, i want to know what each field denotes where can i get to know it? kankipas:!:275:1:Swaraj Kankipati - Brea PTX Support:/home/kankipas:/usr/bin/ksh If anyone could tell me that would be great Thanks Swaraj |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
It can be different - Darwin and OS X have ten fields for example.
To find what is on your system start with Code:
man passwd |
|
#3
|
|||
|
|||
|
Hello
Thanks for the reply, i had gone through the manpage for the passwd command which is for changing passwords for a user, but i could not find much information as i am looking for, this is the only line which describes about the /etc/passwd file /etc/passwd Contains user IDs, user names, home directories, login shell, and finger information. But i want to know in order what each part denotes for an entry in the /etc/passwd file. I am using AIX 5.1 Operating System. Thanks Swaraj |
|
#4
|
||||
|
||||
|
There is more than one passwd man page. On my OSX system, I can get to the file description page with "man 5 passwd". Try "man -k passwd", which will list the different man pages containing "passwd", along with the chapter number.
If "man 5 passwd" doesn't work (I think Sun systems have a different way of selecting the chapter, for example), try "man man" to find out how to specify the chapter. Hope that helps... |
|
#5
|
||||
|
||||
|
Re: passwd file contents
Quote:
kankipas = is your login name on system ! = stands for your password, it's encrypted, and contained in another file 275 = is your uid(user id) - if you type < id > on command line you'll get this same value as well. 1 = is your gid(primary group id) Swaraj Kankipati - Brea PTX Support = is your full name on the system /home/kankipas = is your home directory on the system /usr/bin/ksh = is your login shell(the interactive program which runs when you login) - korn shell in this case... I hope this helps |
|
#6
|
|||
|
|||
|
Thanks a lot Milhan, that was the perfect reply i was looking for
Swaraj |
|||
| Google The UNIX and Linux Forums |