03-30-2008
try
#passwd -s root
aRm_nAja
9 More Discussions You Might Find Interesting
1. HP-UX
Hello,
I try to make a change on the root password on HP UX. I use sam but it didn't work here.
I try to login as root but I failed however, I login to my name and then change to su and su password then it is o.k
There is not much different from root and su but how do we use root?
Thanks so... (4 Replies)
Discussion started by: mle06
4 Replies
2. Solaris
Hi, please advise me what is the simplest way to change root password on Sun Sparc 64 bit with Solaris 9 on it. Thanks in advance. (3 Replies)
Discussion started by: duke0001
3 Replies
3. HP-UX
Hello!
I forget the root password and I need to change it. I've read others threads about it in this forum, but it seems it's necessary to modify /etc/passwd file. In my HPUX Systems this passwd file have only "read" permissions ant its owner is the root user, so how can i modify this file, if I... (4 Replies)
Discussion started by: kaugrs
4 Replies
4. HP-UX
Hi, we have a HP-UX server of model 9000/800/rp4440. We have been trying to reset the root password but are in vain.I used the following command and also are the outputs which i have received.
# passwd
Changing password for root
New password:
Re-enter new password:
Unexpected failure.... (3 Replies)
Discussion started by: angelofhell
3 Replies
5. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
6. Solaris
Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies
7. UNIX for Advanced & Expert Users
I tried to change the root password. but it shows the following error.
passwd: Authentication token manipulation error
passwd: password unchanged
If I login as a normal user that time I'm able to change my (user) password.
If I login as a ROOT then I'm not able to change the password root... (6 Replies)
Discussion started by: ungalnanban
6 Replies
8. Ubuntu
We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies
9. UNIX for Beginners Questions & Answers
i do not have root on a solairs 10 server , however i do have the root role, i was wondering if I can change the root password as a a role with the passwd command? I have not tried yet.
and do i have to use the # chgkey -p afterwards?
i need to patch is why i am asking.
thanks (1 Reply)
Discussion started by: goya
1 Replies
LEARN ABOUT NETBSD
passwd.conf
PASSWD.CONF(5) BSD File Formats Manual PASSWD.CONF(5)
NAME
passwd.conf -- password encryption configuration file
SYNOPSIS
passwd.conf
DESCRIPTION
The /etc/passwd.conf file, consisting of ``stanzas'', describes the configuration of the password cipher used to encrypt local or YP pass-
words.
There are default, user and group specific stanzas. If no user or group stanza to a specific option is available, the default stanza is
used.
To differentiate between user and group stanzas, groups are prefixed with a single colon (':').
Some fields and their possible values that can appear in this file are:
localcipher The cipher to use for local passwords.
Possible values are: ``old'', ``newsalt,<rounds>'', ``md5'', ``sha1,<rounds>'', and ``blowfish,<rounds>''. For ``newsalt'' the
value of rounds is a 24-bit integer with a minimum of 7250 rounds. For ``sha1'' the value of rounds is a 32-bit integer, 0
means use the default of 24680. For ``blowfish'' the value can be between 4 and 31. It specifies the base 2 logarithm of the
number of rounds.
If not specified, the default value is ``old''.
ypcipher The cipher to use for YP passwords.
The possible values are the same as for localcipher.
If not specified, the default value is ``old''.
To retrieve information from this file use pw_getconf(3).
FILES
/etc/passwd.conf
EXAMPLES
Use SHA1 as the local cipher and old-style DES as the YP cipher. Use blowfish with 2^5 rounds for root:
default:
localcipher = sha1
ypcipher = old
root:
localcipher = blowfish,5
SEE ALSO
passwd(1), pwhash(1), pw_getconf(3), passwd(5)
HISTORY
The passwd.conf configuration file first appeared in NetBSD 1.6.
The default value of localcipher was set to ``sha1'' in /etc/passwd.conf starting from NetBSD 6.0.
BSD
December 3, 2010 BSD