The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


Security Anything involving computer security goes here.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/passwd file been deleted gera_sachin125 SUN Solaris 5 02-11-2008 09:36 AM
help in /etc/passwd file useless79 Shell Programming and Scripting 4 09-19-2007 02:23 AM
Help! passwd file corrupted Tony Montana UNIX for Dummies Questions & Answers 2 05-21-2005 05:45 AM
passwd file corrupted cantona7 HP-UX 10 03-21-2005 11:06 AM
passwd file contents kswaraj UNIX for Dummies Questions & Answers 5 07-07-2004 08:32 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-04-2005
Registered User
 

Join Date: Nov 2005
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
/etc/passwd file

hi

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

Mine shows "+:::::"

best
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-04-2005
Registered User
 

Join Date: Dec 2005
Location: Vancouver, Canada
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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

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
Reply With Quote
  #3 (permalink)  
Old 12-04-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 627
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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!
Reply With Quote
  #4 (permalink)  
Old 12-04-2005
Registered User
 

Join Date: Dec 2005
Location: Vancouver, Canada
Posts: 10
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
hrmm interesting, I've worked with NIS before and have never seen this reference.

Thanks for the info

Last edited by casphar : 12-04-2005 at 10:01 PM.
Reply With Quote
  #5 (permalink)  
Old 12-06-2005
Registered User
 

Join Date: Nov 2005
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:44 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102