The passwd tag has no wiki summary.
-2
votes
1answer
54 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
38 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
48 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
80 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
54 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
47 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 ...
2
votes
3answers
336 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
65 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
120 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
163 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, ...
3
votes
1answer
786 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
127 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
187 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
182 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
2answers
168 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
99 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 ...
3
votes
1answer
79 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
769 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
549 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
641 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
145 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
383 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
362 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 ...
0
votes
1answer
1k 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
208 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
38 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
100 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
92 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
538 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
456 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
586 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
458 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
391 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
95 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
241 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
914 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 ...