/etc/passwd file


 
Thread Tools Search this Thread
Special Forums Cybersecurity /etc/passwd file
# 1  
Old 12-04-2005
/etc/passwd file

hi

Does anyone anyone know what the last line of a unix user passwd file signifes?

Mine shows "+:::::"

best
# 2  
Old 12-04-2005
Hi, I'm not sure why you would have that there.

It looks to be an incomplete entry for a user called "+" and is missing, apart from obvious things such as the uid and gid, but also the final seperator.

What OS are you using?

I would say initially take a look at the timestamp on the file and see when it changed and perhaps see who was on at that time with last.

I guess also check if anything else was changed at the same time as that passwd file, maybe something you installed or someone else.


I would also say for cleanliness purposes, take a backup of the file and remove that entry. If you notice anything breaking then investigate further as the best learning always comes from breaking things Smilie

Thanks

Quote:
Originally Posted by s_mad010
hi

Does anyone anyone know what the last line of a unix user passwd file signifes?

Mine shows "+:::::"

best
# 3  
Old 12-04-2005
actually, the "+" in the last line in /etc/passwd tells the system to reference NIS ... here are some Google search entries you might want to take a look at ... good luck!
# 4  
Old 12-05-2005
hrmm interesting, I've worked with NIS before and have never seen this reference.

Thanks for the info

Last edited by casphar; 12-05-2005 at 02:01 AM..
# 5  
Old 12-06-2005
RE. unix usr password file

Thanks for all your input

it was for a coursework question so no big deal excpet my own curiosity.
The version our university runs is SuSE Linux 9.3.

best
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Lost /etc/passwd file

Hello, I'm trying to recover my /etc/passwd file, but I can't make it work. Im doing the following: 1. Booting from cd-rom: 2. Mounting hard disk drive 3. Copying my passwd and shadow files to /a/etc/ 4. Unmounting Hard disk: 5. Rebooting 6. Stopping my OS from booting ( by pressing... (11 Replies)
Discussion started by: alvaradogunner
11 Replies

2. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies

3. Homework & Coursework Questions

Sorting the passwd file

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: Sort the file /etc/passwd using the fourth field (group ID) as the primary sort, and the third field (user ID),... (3 Replies)
Discussion started by: Nekulturny
3 Replies

4. Solaris

can't open /etc/passwd file

Hi all, Yet another problem on one of my nodes. I am unable to open my password file .It shows some junk alphabets. root@ecosdp26a>cat /etc/passwd... (10 Replies)
Discussion started by: vivek.goel.piet
10 Replies

5. UNIX for Dummies Questions & Answers

help with passwd file

Not an unix expert, I read a few pages on the web about passwd files, but I didn't find the answers I need about the last 8 lines of the passwd file I'm taking a look at. I'm assuming their shortcuts to another file that may have the actual usernames of users on the system. Please, any help... (1 Reply)
Discussion started by: fusion31
1 Replies

6. Solaris

passwd cmd reenables passwd aging in shadow entry

Hi Folks, I have Solaris 10, latest release. We have passwd aging set in /etc/defalut/passwd. I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging. When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

7. UNIX for Dummies Questions & Answers

apache passwd file

i am using apache2.0, and i used this command to create username/passwd: ./htpasswd -b passwd.file username password is it away to translate password back to plaintext ? for example, passwd.file contains: username:HnennjvqsGaQs i want to translate back to: username:password (1 Reply)
Discussion started by: tjmannonline
1 Replies

8. HP-UX

/etc/passwd file manipulation

Hi How the user is allowed to change his password with passwd command, although /etc/passwd has read only rights. How this file gets modified upon changing password??? Thanks in advance for this query (1 Reply)
Discussion started by: puneet
1 Replies

9. Solaris

/etc/passwd file been deleted

Hi Folks , Would be grateful if someone could help me out in one of the question that came to my mind . If the /etc/passwd file has been deleted and the system has been rebooted . Then i dont think that any user would be able to login and the system will be useless . Whats the best solution for... (5 Replies)
Discussion started by: gera_sachin125
5 Replies

10. Shell Programming and Scripting

help in /etc/passwd file

Hi all, As all of us know that in /etc/passwd file the first field correspond to username could any one tell me what is bin , damoen etc in the first field, and r they in user field , what is nologin in the last column ? root:x:0:0:root:/root:/bin/bash ... (4 Replies)
Discussion started by: useless79
4 Replies
Login or Register to Ask a Question