A file found on UNIX-based systems containing valuable information about the system's user accounts.

learn more… | top users | synonyms

24
votes
3answers
2k views

What's all those users in the /etc/passwd file?

The /etc/passwd is supposed to have a line for every user on the system. Amongst the common username and root there is a bunch of other users. Some examples: timidity:x:114:127:TiMidity++ MIDI ...
1
vote
1answer
61 views

Get login shell of a user not in /etc/passwd in linux

How do I get the default login shell of a specific user in linux. The user isn't necessarily in /etc/passwd. They may be logging in with NIS or LDAP or other pam method.
0
votes
1answer
67 views

Regain access to Ubuntu server

I did a stupid mistake on my Ubuntu virtual server (Amazon). I was messing around with /etc/passwd & /etc/group files and i am about to lock my self out of the server for good. I have a copy of ...
1
vote
0answers
102 views

chpasswd and passwd not updating /etc/shadow for root user

I'm having a weird problem, and I don't know if I've screwed something up or this is the way it's supposed to be and I never noticed.. Using passwd and chpasswd to change a users password works as ...
4
votes
1answer
83 views

Instead /bin/bash as a shell, /bin/passwd in /etc/passwd file

I'm a Unix support Admin and I have a rare situation here. I have a recently adopted an environment that has a user with a /bin/passwd binary as a shell. xxx:x:1:100:xx:/home/xx:/bin/passwd Anyone ...
1
vote
1answer
127 views

Is it safe to delete puppet user after uninstalling puppet and puppet-common?

In Debian I installed puppet with apt-get install puppet. Later I decided to uninstall it with apt-get purge puppet puppet-common. However I just noticed my /etc/passwd file still contains the line ...
1
vote
1answer
833 views

How do I sort the “/etc/passwd” UIDs?

I have been banging my head on this little project the past few days and here is how it goes... I need to organize all the UIDs for multiple servers so all users have the same UID in their ...
2
votes
1answer
512 views

Why are there weird commas in my /etc/passwd file?

There are weird commas after the real-name parameter of some lines in my /etc/passwd file. kye:x:1000:100:Kye,,,:/home/kye:/bin/bash What gives? Why are they there? Can I remove them?
0
votes
1answer
348 views

Cygwin /etc/passwd not honoring /bin/bash

How can I get Cygwin to honor the /etc/passwd file and make my default shell bash instead of sh? I presume it is controlled somehow by windows XP since I had an issue before with permissions and had ...