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
144 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 ...
4
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
283 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
162 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
624 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
11k 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
1k 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
948 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
1k 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
431 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
244 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 ...
5
votes
1answer
237 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
3k 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 ...
0
votes
1answer
2k views

pam_auth_radius - RADIUS users vs unix users

I have recently set up a server with FreeRADIUS to authenticate and keep track of admin logins on some of my devices. I'm looking at getting my Linux and FreeBSD machines authenticating against ...
1
vote
6answers
3k views

Compare two user lists in bash

I have two different user lists. I need to compare the users and make sure they exist in both files. One is the passwd file, and another is a flat file for that has the usernames and other ...
0
votes
1answer
296 views

pam_filter usage prevent passwd from working

I have PAM+LDAP SSL running on Debian Lenny, it works well. I always want to restrict who's able to connect, in the past I used pam_groupdn for that but I recently got a situation where I has to ...
2
votes
4answers
1k views

Temporary changes to /etc/passwd or /etc/group - how-to

I want to temporarily modify /etc/passwd and/or /etc/group to "remove" a user/group without deleting the line. Is there a way to do that? ...
0
votes
2answers
2k views

Restore passwd for root on a server

      I have a DVR server with linux embeded. It has some telnet functions but i don't have the password for it (the chinese manufacturer refuses to give me the ...
1
vote
2answers
5k views

RtKit on my ubuntu?

Hi I just updated my ubuntu karmic Koala to Lucid Lynx and found sth strange on my file /etc/passwd. rtkit:x:120:130:RealtimeKit,,,:/proc:/bin/false Can someone tell me what it is?
0
votes
1answer
297 views

How to Protect Apache server from this attack

Is there a .htaccess solution against this attack 188.165.198.65 - - [17/Apr/2010:15:46:49 -0500] "GET ...
1
vote
1answer
44 views

I would like to allow login to a box with no password for a particular user how do I do that?

I would like a userid to allow logging into a box without a password. I am not sure how to accomplish this as changing the password to nothing is not allowed. Thanks
0
votes
2answers
126 views

Why's SMC failing on startup?

Trying to remove a user from one of our servers, but I seem to be thwarted at every turn... SMC refuses to load the user list (failing with a NoClassDefFoundError in the listAll method of ...
2
votes
1answer
708 views

Why is the displayed name in bash different from the one in /etc/passwd?

I remotely SSH login as root (using PUTTY), The bash shell prompt becomes: [root@yukiko /]# When I entered: getent passwd The first line I see is this one: root:x:0:0:root:/root:/bin/bash ...
3
votes
4answers
1k views

Restoring /etc/passwd from file

I know they say "given root access, everyone will screw up their machine eventually", and I'm discovering how true that is. In an incident of extreme fatfingering, I've managed to wipe out my ...
2
votes
1answer
556 views

Passwd via PAM only work for LDAP

Now I'v got a working setup using PAM+LDAP over SSL but I can only passwd users in the ldap tree, any idea about how to be able to passwd every users ? Here are some conf files : ...
1
vote
1answer
1k views

sudo: uid 1000 does not exist in the passwd file!

How can i restore my /etc/passwd file? I have access to it, but it's currently empty and I added this to the file, but I can't even SSH to the machine, I'm getting a "connection refused". ...
0
votes
2answers
1k views

Telnet without passwords

Back in the days of Redhat 9 I set up networks using dumb terminals that used telnet to log in to the server. And simply by deleting the 'X' in /etc/passwd for the user, the user could log in with a ...
1
vote
1answer
606 views

How do I persuade Dovecot and postfix to use multiple passwd files for user accounts and passwords?

I'm setting up Dovecot and postfix for the first time, and I'm a little stuck. I'm sharing a virtual server with a few other people and I want a separate user account file (passwd file) for each ...
1
vote
2answers
122 views

Diskless login with Linux/OpenSolaris

Is it possible to enable a Linux or OpenSolaris based server to process standard unix login requests without spinning up the hard drive holding the root partition? I have a Nexenta-based (1) server ...
1
vote
1answer
366 views

Changing pam.d/system_auth?

I'm trying to change pam.d/system_auth to help with password complexity as required by an audit. I'm not familiar with PAM, but the system_auth file says This file is auto generated User ...
1
vote
4answers
3k views

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 ...