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
1answer
33 views

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

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

SSH with user root from 2 different stations both running passwd [closed]

A few days ago, we were connected to a xenserver through ssh (user root) from 2 different stations. And we tried passwd, and we changed the root password to 2 different passwords simultanously. And we ...
1
vote
0answers
21 views

Cygwin: Obtain comment field from Active Directory with mkpasswd

Running cygwin on W7x64. Since a generated /etc/passwd file is static, it has to be performed occasionally when new employees are hired. It polls Windows AD, and writes the passwd file. In the past, ...
2
votes
1answer
77 views

Command 'getent'

Part 1 Is getent supposed to be an executable? In my zsh setup, I can see getent is actually defined as a function $ which getent getent () { if [[ $2 = <-> ]] then grep ...
0
votes
1answer
74 views

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

How can I allow users to reset their Linux user passwords from a web interface? [closed]

I am running SAS Visual Analytics on a cluster for my department. I want the users to be able to set and reset their own password for their user account. Users and Passwords for the application are ...
1
vote
1answer
113 views

Purpose of the noaccess user in UNIX?

Can someone point me to a document or explain to me the utility or application of the noaccess user? It would seem interchangeable with any other user I might create. What is it's purpose of being ...
-1
votes
1answer
88 views

How to enable Dovecot virtual users to change their password using passwd-file?

I am running Dovecot with several virtual users in passwd-file: http://wiki2.dovecot.org/AuthDatabase/PasswdFile . The file is /etc/dovecot/userdb . How can I enable the users to change their ...
0
votes
0answers
37 views

LDAP passswd command ask 4 new password

I know there is similar question but mine is a few different as I 'm using LDAP as identification and I'm running with debian wheezy (7) When my end user is using the passwd command for changing his ...
0
votes
1answer
1k views

sshd on a minimal Linux: “Failed password for invalid user root”

I'm trying to start SSH server on a minimal Fedora installation. And I mean really minimal: one that is produced by diskimage-builder ramdisk builder. It does not even have users (absent /etc/passwd ...
0
votes
0answers
111 views

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: ...
1
vote
0answers
184 views

can't change NIS account password from Centos-7 client “NIS server Centos-6”

I'm trying to change password for a NIS account from a Centos-7.0.1406 client and the server is Centos-6.6 it seems that passwd command don't ask me neither to change password nor ask me for old ...
0
votes
1answer
985 views

linux + cant access as user + could not open session

in my Linux machine - red-hat I successfully to login to different users as the following su - userC [machine@Linux ~]$ pwd [machine@Linux ~]$ /Users/userC but only in one user I get the ...
1
vote
1answer
77 views

Does password aging affect locked accounts in Linux?

I have a requirement to change the maxdays setting of several Linux accounts to 365 and most of the accounts are locked. Does password aging settings affect these accounts? My concern is that I'll ...
-1
votes
1answer
121 views

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

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

passwd: Authentication token manipulation error

I am running a Ubuntu 12 machine, and have recently been working to secure it. I made all the changes from this guide. I am not running a Linode, but I used these as a starting point for setting up ...
0
votes
2answers
1k 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
60 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 ...
14
votes
3answers
4k 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
411 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
1k 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::/: ...
2
votes
2answers
2k 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 ...
1
vote
2answers
3k 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
291 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
214 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
83 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 ...
3
votes
1answer
74 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
4k 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
42 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
2k 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
505 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 ...
2
votes
1answer
12k 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
135 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
64 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
199 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
707 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
4k 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
258 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
491 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
92 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
784 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
1answer
698 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
241 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
1k 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
206 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
175 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
1k 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
449 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 ...