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

learn more… | top users | synonyms

0
votes
2answers
54 views

/etc/passwd shows user in a group, but /etc/group does not

I want to verify that the user account filesender_1 is a member of the group valid_senders. When I look at /etc/group, filesender_1 is not there: valid_senders:x:12345:production_1 I read this as ...
0
votes
1answer
46 views

how to avoid console network error (host is not communicating) when passwd or update?

I am trying to change the root password and update ssl package but the commands passwd or yum update {package} make the console loops endlessly. I have set the buffer to 600 sec. which I am reaching ...
13
votes
3answers
677 views

Copying Linux users and passwords to a new server

I am migrating over a server to new hardware. A part of the system will be rebuild. What files and directories are needed to copy so that usernames, passwords, groups, file ownership and file ...
4
votes
1answer
210 views

Linux: Lost internet while using vipw. How can I unlock the file?

I was editing the passwd file with vipw, when I briefly lost internet connectivity. When I logged back in and tried to edit again I get the error: vipw: Couldn't lock file: Interrupted system call ...
-1
votes
3answers
163 views

What is default shell for users in /etc/passwd for Solaris 11?

For a Solaris 11 Server Config Review that I am doing, I have following lines in my /etc/passwd file: root:x:0:0:Super-User:/root:/usr/bin/bash daemon:x:1:1::/: bin:x:2:2::/usr/bin: sys:x:3:3::/: ...
0
votes
2answers
108 views

What is the purpose of openssl passwd

I'm reading "Reliably Deploying Rails Applications" Regarding defining users to be set up by Chef, it says: “Next we need to define users, inside data_bags/users copy the file deploy.json.example to ...
0
votes
0answers
329 views

Change local password as root after configuring for MS-AD Kerberos+LDAP

I have followed this excelent post to configure Kerberos + LDAP: http://koo.fi/blog/2013/01/06/ubuntu-12-04-active-directory-authentication/ However, there are some local users used for services. When ...
1
vote
0answers
107 views

OpenLDAP on ArchLinux users cannot change passwd

I started an office and i NEED centralized login and home directories to work. Since all workstations are going to run Arch and problems with different LDAP versions I finally concluded the LDAP ...
0
votes
1answer
78 views

difference between /bin/false and /sbin/nologin [duplicate]

I am learning server stuff and I have one chapter about /etc/passwd i have this: root:x:0:0:root:/root:/bin/bash bin:x:2:2:bin:/bin:/bin/sh sys:x:3:3:sys:/dev:/bin/sh ...
1
vote
1answer
43 views

CentOS Password Change

I am looking for changing my centos password by using passwd with encryption. echo "Password1" | passwd --stdin username But if I'm using with above method, user will see what my password is. Does ...
0
votes
0answers
114 views

How to allow the root user to change LDAP password for normal users?

I have a LDAP-Server that is running on Debian 6.0.7 Squeeze. The LDAP-Server is used for the user authentication and the sudo management of all other virtual servers in our network. On a Debian 7 ...
3
votes
1answer
64 views

ProFTPD accounts

I have inherited a server where ProFTPD is installed. I can login to it with account joe_test and its password - but the problem is there is no such user as joe_test in /etc/passwd. If I do ls -la of ...
4
votes
1answer
1k views

Unable to delete a user from a Linux CentOS 6.3 machine, what can be done?

When I try deleting my user (from a root shell) it says userdel: cannot remove entry 'itaig' from /etc/passwd The user isn't even displayed on /etc/passwd. [root@ab2c1 ~]# su - itaig su: warning: ...
0
votes
1answer
36 views

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: ...
0
votes
2answers
479 views

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 ...
2
votes
2answers
359 views

Is there a shell to change password when connecting over SSH?

This is a pretty odd question, but I'd like my users to be able to change their passwords for my FTPS server, which is using local accounts. Currently all these users have /bin/false set as shell, but ...
1
vote
1answer
3k views

How to change the password of a (vsftpd) FTP account when 'passwd' isnt working

Kinda newbie here, I have a server which uses vsftpd. I changed the password of user 'aa' from the root account with 'passwd aa', which changed the SSH password for user 'aa', but not for his FTP ...
0
votes
3answers
121 views

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 ...
0
votes
1answer
57 views

How to tell passwd to use salted passwords?

I am hunting the web on how to change passwords of an existing user using a salted hash. I found that way with adding a non-existing user: ...
1
vote
2answers
151 views

Accidentally messed up /etc/passwd

I accidentally modified the default shell program /bin/bash for my user in /etc/passwd. I didn't set a root password in my ubuntu server installation. Now I can't even login. Is there anything I can ...
0
votes
1answer
348 views

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 ...
2
votes
2answers
2k views

ssh root access denied after changing shell

after i tried to change my server shell, i cannot login as root anymore. First, i installed the z-shell (zsh) as root and then i wanted to change it to my default shell. Therefore i used "chsh". My ...
0
votes
2answers
194 views

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 ...
7
votes
1answer
334 views

Keeping configs, user ids, groups and passwords consistent across Linux-servers

I have a couple of Debian servers with only little users and services. The applications are kept as far as possible in their own directories where they can be backed-up or synced easily. But I have ...
0
votes
1answer
81 views

restore root account on ubuntu running in EC2 [duplicate]

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 ...
0
votes
2answers
543 views

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 ...
0
votes
0answers
261 views

Samba passwd program not working

I am trying to use the smb.conf option "passwd program" to change our internal passwords (they are in a different database) when using the Windows "change password" function. Here is a brief overview ...
0
votes
1answer
348 views

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 ...
1
vote
1answer
158 views

Alias Entry in /etc/passwd file

On my desktop machine, my account is david, but on my servers it's dweintra. This means whenever I use scp I have to do this: $ scp some.file dweintra@app05: and $ ssh dweinta@app05 I'd like to ...
2
votes
1answer
617 views

passwd asks for new password 4 times

I just had a strange experience. I created a new user on a server (Ubuntu 10.04, Plesk installed) and then wanted to set the password. Look at that output: # useradd dev # passwd dev Enter new ...
2
votes
1answer
143 views

Importing users from passwd

I'm migrating from one Linux server to another with a very similar configuration. Both have Plesk, which has automatically migrated much of the data. However, there are a number of FTP users created ...
1
vote
2answers
164 views

Password accepted by passwd but not su

The passwords on one of my CentOS boxes is no longer accepted by ssh or su for the user clipuser but that same password is accepted by passwd (after su'ing from root to the user). /var/log/secure ...
1
vote
1answer
732 views

Can I put /etc/passwd, /etc/group and /etc/shadow on an NFS share?

OK, this may be a dumb question but I'm wondering if I can export /etc/passwd, /etc/group and /etc/shadow from an NFS server and mount those files over the local ones on the client machine. The goal ...
0
votes
1answer
279 views

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 ...
0
votes
1answer
347 views

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 ...
1
vote
2answers
366 views

How to add root user in nis passwd file?

One of the sys admins accidentally moved aside /etc/passwd... doh! Restoring the file from backup doesn't work... it errors out because root user does not exist. I've got NIS running at this site and ...
1
vote
1answer
291 views

Changing eDirectory Password From Linux Machine

I have Configured LDAP Authentication for my Linux Machines. The LDAP Server is Novell eDirectory. The LDAP Users are able to login into the machine. But when i am issuing passwd command it is asking ...
0
votes
1answer
124 views

Changing the text of the kerberos passwd prompt

We are running kerberos (krb5-1.7) on SLES 11 SP1. Our users seem to have trouble changing their passwords with the password command. They are confused by the initial prompt, and don't understand ...
3
votes
3answers
2k views

Can I force the passwd command to use MD5 hash (and not crypt)?

How can I force the passwd command to use MD5 hash and not to use crypt? I need to get the passwd command to talk to the ldap server (which it does) and use MD5 when I change passwords for the users.
0
votes
1answer
220 views

Postfix forwarding to email addresses in /etc/passwd

If one maintains a database of emails in /etc/passwd how can Postfix be configured to forward email to those?
0
votes
3answers
160 views

What is the affect of executing “sudo passwd” on a system without a root account?

I've just used "sudo passwd" instead of "passwd" on a system by mistake and I'm wondering what the affect of this would be. There are two users on the system, my user account which has sudo privileges ...
2
votes
1answer
533 views

How to change UNIX user password using passwd if user is stored in a MySQL database?

I'm trying to setup libnss-mysql and libpam-mysql. So far everything has been working. I can use id to get information about the users stored in my databas. getent passwd is working, as well. However, ...
9
votes
1answer
9k views

How to generate a /etc/shadow compatible password for Ubuntu 10.04?

How are passwords generated that are used by Ubuntu 10.04? I know that they use SHA 512 as hashing algorithm, but I figure that there is some sort of salting done. I need to generate such a password ...
1
vote
2answers
643 views

debian: creating user with password with one command

I need to create a user with password in a shell script, but passwd wants me to enter the password twice. Is there a way to create a user with password in one command?
0
votes
3answers
724 views

different hash length in /etc/shadow

Here is the output of /etc/shadow for two different users stored on the system: usr1:$1$zgKwt6aQ$gXxsMLgcxa/u6rmq5QseP.:14307:0:99999:7::: ...
3
votes
2answers
805 views

Password rules for yppasswd

I have a NIS master-slave setup and I would like to improve the password rules/complexity for it. Seems like if I introduce new rules to the NIS Master they are applicable only from there. What I ...
1
vote
1answer
376 views

passwd ldap request to ActiveDirectory fails on half of 2500 users

We just setup ActiveDirectory in my company and imported all linux users and groups. On the linux client: (configured to ask ldap in nsswitch.conf): If i do a common ldapsearch to the AD ldap ...
0
votes
2answers
232 views

Query on editing /etc/passwd file

Can i open /etc/passwd file using an editor like vi and then add a comment into this file. If i am able to do that, will the change be persistent after reboot. If it is not the right way to edit the ...
4
votes
1answer
194 views

Using UTF-8 in the /etc/passwd file. Any known issues?

I was recently asked to modify the GECOS field in the passwd file for a certain user so that it will contain his name with his original accented characters. My first was reaction was "sure, why not?" ...
0
votes
2answers
2k views

How to allow passwd in chroot?

I have a multi-user server, which puts a subset of the users in a chroot. I want to allow all users to call passwd in order to change their respective password. Everything else I can think of is ...