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

learn more… | top users | synonyms

1
vote
1answer
29 views

How to configure John The Ripper to use a static string as part of password discovery?

I recendly found an old microcontroller project of mine again and want to use it. Unfortunatly I forgot the password but know the middle of it. Further I get managed to free the shadow file. Is there ...
0
votes
1answer
27 views

bash prompt change after user default directory change

There is something I am not understanding. I have used the method found here about changing user default directory using vipw /etc/passwd However once I go into this file and change a user default ...
0
votes
2answers
114 views

Login as root in ubuntu server 14.04

I have a problem to login as root. My '/etc/passwd' file is like root:x:0:0:root:/root:which zsh .... .... I asked similar question at "How can I change the shell for to original one (/bin/bash) ...
0
votes
1answer
54 views

Just ruined /etc/passwd is there anyway to fix [duplicate]

I'm a noob. I'm messing around on a raspberry pi trying to get the hang of things. I'm having a jolly time. I don't now how to use vim. I know that you need to hit i to insert text, but I know very ...
26
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
315 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
405 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 ...
2
votes
0answers
402 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
294 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
210 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
1k 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 ...
3
votes
1answer
972 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
484 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 ...