04-21-2009
just do ls -l /root/passwd
see the permissions given to it. Permissions should be given to user for read write.
may be permissions are not set.
10 More Discussions You Might Find Interesting
1. Solaris
Hi
Someone logged on the system with a Normal user and changed the password , for this user , how can i know ? who changed the password from which terminal ?
regards
Georges (5 Replies)
Discussion started by: itsgeorge
5 Replies
2. Solaris
Hi,
I need help urgently.
I've been running NIS for 4 years without problem. And just two weeks ago, all my users are unable to change their password which never happens before.
When we issue passwd or yppasswd, this is what we get
passwd : Changing password for Jennifer
Enter existing... (2 Replies)
Discussion started by: jennifer
2 Replies
3. HP-UX
I have two unix system A and B with same configuration.
I can use remsh from A system login to B system as root, but when I want to change the root password of B system, it ask me the old password, but i forgot it.
However, is it possible to change the B system root password? :(
Thanks a lot (3 Replies)
Discussion started by: zetadhell
3 Replies
4. Solaris
Friends
I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server.
Note - The Slave server is up and running.
I tried doing this. But i got the reply "Permission Denied".
I stopped the YP services in... (7 Replies)
Discussion started by: efunds
7 Replies
5. Linux
Hi all,
I'm having an issue resetting an Linux user password. As root, I type 'passwd <username>, enter the new password, but the user is still Access Denied. Can someone assist me in figuring this one out?
The box is running "Linux trm62 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004... (6 Replies)
Discussion started by: bbbngowc
6 Replies
6. Solaris
i created 1 user . Now its passwd time period get expired.
Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Discussion started by: ajitkraj
5 Replies
7. IP Networking
I have a T2000 server running Solaris 10. I want to change the auto negotiaing on the ethernet ce3 to off. but when
I try with the comand only ce2 changes. I have tried with but failing.
Note: Earlier i was using ce2 but not using ce3 because ce2 failed.
Kindly help (1 Reply)
Discussion started by: lottiem
1 Replies
8. Shell Programming and Scripting
Hi all
Im trying to learn the basics of bash and am struggling with some file manipulation. I am trying to run a script that once you have logged in allows you to change your password which is held (along with the corresponding username) in a different file called usernames. When i try to run my... (2 Replies)
Discussion started by: somersetdan
2 Replies
9. Shell Programming and Scripting
i want to change user to "root" from another user while running a script. how can i automatically feed the password? for example, i want to write a script say "script.sh"... it will first run the command "p" as mhmn user, and then it will change the user to "root" by using "su - root" command. at... (1 Reply)
Discussion started by: mhmn
1 Replies
10. AIX
I want to change the root password on an AIX box. What is the best method to do this so i do not get myself locked out. When I do i search the results come up for resetting the password if you are locked out.
Thanks (5 Replies)
Discussion started by: fierfek
5 Replies
LEARN ABOUT NETBSD
passwd
PASSWD(1) BSD General Commands Manual PASSWD(1)
NAME
passwd -- modify a user's password
SYNOPSIS
passwd [user]
passwd [-d files | -l] [user]
passwd [-d nis | -y] [user]
passwd [-d krb5 | -k] [principal]
DESCRIPTION
passwd changes the user's password. First, the user is prompted for their current password. If the current password is correctly typed, a
new password is requested. The new password must be entered twice to avoid typing errors.
The new password should be at least six characters long and not purely alphabetic. Its total length must be less than _PASSWORD_LEN (cur-
rently 128 characters). Numbers, upper case letters and meta characters are encouraged.
All options may not be available on all systems.
-d database
This option specifies the password database that should be updated. The following databases are supported:
files This specifies that the password change should be applied to the local password file. When changing only the local password,
passwd uses pwd_mkdb(8) to update the password databases.
nis This specifies that the password change should be applied to the NIS password database. The rpc.yppasswdd(8) daemon should be
running on the master NIS server.
krb5 This specifies that the user's Kerberos 5 password should be changed. The host must be configured to use Kerberos. See
krb5.conf(5).
-l This is the equivalent of -d files.
-y This is the equivalent of -d nis.
-k This is the equivalent of -d krb5.
If a password database is not specified, passwd will change the password database as determined by the Pluggable Authentication Module (PAM)
library.
The type of cipher used to encrypt the password depends on the configuration in passwd.conf(5). It can be different for local and NIS pass-
words.
FILES
/etc/master.passwd The user database
/etc/passwd A Version 7 format password file
/etc/passwd.XXXXXX Temporary copy of the password file
SEE ALSO
chpass(1), login(1), pwhash(1), passwd(5), passwd.conf(5), pam(8), pwd_mkdb(8), vipw(8)
Robert Morris and Ken Thompson, UNIX password security.
HISTORY
A passwd command appeared in Version 6 AT&T UNIX.
BSD
February 25, 2005 BSD