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.

116 questions
0
votes
1 answer

Cache FreeIPA passwords to /etc/passwd

I have setup freeIPA/Kerberos authentication for my domain and it works well. I have a service that does not support server-based auth, only local auth via /etc/passwd. Is there a method to cache passwords from freeIPA to local disk, which I can…
Vince
  • 371
  • 5
  • 17
0
votes
1 answer

Cannot run passwd through plink

This is my situation. I am trying to run the following command in WINDOWS 7 plink.exe user@ip.add.re.ss -pw password "passwd user" to change the password for a particular user. it keeps giving me permission denied. The other commands like…
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

Shared /home with NFS: chown /home/userdir to a user that doesn't exist on the server

Let's say I have a NFS /home on my server that gets mounted on boot by clients (EDIT: on their own machines -- locally), in order to have a common /home for my clients, this way they automatically save whatever they are doing (EDIT: locally on their…
Aroll605
  • 161
  • 1
  • 4
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
  • 823
  • 2
  • 10
  • 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
  • 4
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,164
  • 3
  • 19
  • 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