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
1
vote
1 answer

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

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 based on the local users and passwords on the…
KinsDotNet
  • 197
  • 7
1
vote
1 answer

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 password? This is Debian GNU/Linux (Wheezy).
stf
  • 123
  • 1
  • 5
1
vote
2 answers

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 etc). So, now I'm trying to run sshd on such a…
Divius
  • 11
  • 1
  • 1
  • 2
1
vote
0 answers

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 password, it only returns the following Changing…
Eslam
  • 239
  • 2
  • 6
1
vote
1 answer

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 following su - UserA Creating directory '/User/UserA'. could…
maihabunash
  • 443
  • 1
  • 11
  • 25
1
vote
1 answer

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 change them to 365 (where currently many of them…
Chris M.
  • 13
  • 2
1
vote
1 answer

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 everytime, and the console is aborting a few…
Tritof
  • 159
  • 1
  • 1
  • 8
1
vote
1 answer

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 someone know how can I make "Password1" to be…
Sokphak
  • 13
  • 1
  • 5
1
vote
1 answer

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…
user164328
  • 11
  • 1
1
vote
2 answers

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 do?
hollow7
  • 113
  • 2
1
vote
4 answers

How to change passwd constraints

I was today trying to change my password on our lab servers (SUSE) with passwd and got the error message that my password was "based on a dictionary word", which it really wasn't. I'd like to change and adapt these constraints and limits on setting…
Stefan Thyberg
  • 704
  • 1
  • 8
  • 15
1
vote
1 answer

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 be able to simply do this: $ scp some.file app05: $…
David W.
  • 391
  • 3
  • 5
  • 15
1
vote
2 answers

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 doesn't really have anything useful, here is the…
Jason Axelson
  • 334
  • 1
  • 5
  • 17
1
vote
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
1
vote
2 answers

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 serving the passwd/group/shadow files and I tried…
Caroline
  • 13
  • 2