Questions tagged [passwd]

passwd refers to the Unix command for changing a user's password and also the file in which users' login data is stored.

passwd refers to the Unix command for changing a user's password and also the file in which users' login data is stored.

112 questions
0
votes
1 answer

Can't edit files /etc/passwd and /etc/shadow

I have some issues with files /etc/passwd and /etc/shadow. Both of them are without permissions: ---------- 1 root root 1357 Aug 5 11:30 passwd ---------- 1 root shadow 1175 Aug 5 11:30 shadow And i don't know how this happened or why.…
Martin Sudolsky
  • 11
  • 1
  • 1
  • 2
0
votes
1 answer

Resetting root password on Slackware (software RAID)

I'm trying to reset password to root account on Slackware server (with Intel Atom on Intel motherboard and two HDDs). There is software RAID set up (devices mounted during boot: md0 - /, md1 - /usr, md2 - /var, md3 - /tmp, md4 - /home). What I tried…
0
votes
0 answers

Dovecot Virtual domain/passwd-file login issue

I used this walk through http://wiki2.dovecot.org/HowTo/VirtualUserFlatFilesPostfix but there is still an issue not allowing me to login. /var/log/dovecot.log Jan 13 10:25:49 imap-login: Info: Disconnected (auth failed, 1 attempts):…
chrisw9808
  • 309
  • 1
  • 5
0
votes
1 answer

Tool to lint passwd and group files

Recently I fixed a problem caused by duplicate entries in /etc/passwd on Linux. To catch it sooner next time I plan to do some basic sanity checks on the file each day, one of which will be that no duplicate uids are found. But surely this is…
Ed Avis
  • 101
0
votes
1 answer

difference between /bin/false and /sbin/nologin

I am learning server stuff and I have one chapter about /etc/passwd i have…
Pat R Ellery
  • 11
  • 11
0
votes
1 answer

Wrong directory in passwd file. How to edit properly?

I have the following value under /etc/passwd file: web3:x:5006:5006::/var/www/clients/client2/web3:/bin/false Now, the correct value should be: web3:x:5006:5006::/var/www/clients/client1/web3:/bin/false That is, client1 and not client2. I know…
jaypabs
  • 773
  • 2
  • 9
  • 15
0
votes
2 answers

openLDAP Client Config for CentOS 6

I have been trying to get the users on the LDAP server to get authenticated over centOS 6 clients, but, the client will not accept the passwords of the LDAP users. I have Ubuntu Systems which successfully does the job, with the basic settings. How…
Vijit Jain
  • 86
  • 3
  • 15
0
votes
3 answers

I edited /etc/passwd and have strange problems

I manually edited /etc/passwd for non-root user - yeah, I know this is bad. Unfortunately I saw this (SSH failing authentication after manual edit of /etc/passwd and /etc/shadow) very late. I already recovered /etc/passwd to previous state, but…
kirugan
  • 105
  • 3
0
votes
1 answer

Postfix chroot jail doesn't work

Trying to setup Postfix to run chrooted. Only bit of info on this comes from the man page which simply says to follow the instructions in master.cf. master.cf is self explanatory, just set 'y' in the chroot column. BUT NO, it still doesn't work. #…
w00t
  • 1,134
  • 3
  • 16
  • 35
0
votes
2 answers

Solaris 11 nsswitch.conf messed up, need to edit it from an alternate kernel

Ok, so I was editing the name-service/switch service and messed up my nsswitch.conf, I overwrote the "passwd = files" with "passwd = filesasdf" so now I can't auth to the server when I boot that kernel. I can however just boot to the default Solaris…
Joe
  • 11
  • 2
0
votes
1 answer

restore root account on ubuntu running in EC2

Possible Duplicate: root locked out of EC2 How can I restore root account that is running on EC2 Ubuntu platform? In the /etc/passwd the root username got replaced with something like this - "text with space" Now I cannot log in using the root…
Sashi
  • 1
0
votes
2 answers

Locked only user account on Ubuntu 12.04. Can't login

I have an Ubuntu 12.04 server on which I've locked my only account, logged out, and now I cannot log in . jiechao@ubuntu-Jiechao:~$ sudo passwd -l jiechao passwd: password expiry information changed. jiechao@ubuntu-Jiechao:~$ logout Connection…
Jiechao Li
  • 253
  • 1
  • 4
  • 13
0
votes
1 answer

Questions about AIX passwd file

I'm a beginner in AIX and I have 2 questions on AIX's passwd file. If there is a hash (#) symbol in front of a username, what does this mean? Correct me if I'm wrong. On the password field, if a user has password, it will be marked with an asterisk…
John Doe
  • 1
  • 1
0
votes
3 answers

Unable to change user password on AWS using `passwd` command

I am using Amazon's AWS insances running CentOS. I was trying to create a user with SUDO privilege and then disable the Root login to secure the systems. I have already done the required to bring this into effect but am now stuck with a problem I…
Salman A. Kagzi
0
votes
1 answer

OpenSUSE libldap undefined symbol

Recently an OpenSUSE server had its root password changed (some say this mightve been a hacker or anything), I have no idea how or why, but they asked me to fix this. Now the problem what I'm having is that whenever using passwd (or yast or several…
XSlicer
  • 1
  • 2