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
afterwards?
i need to patch is why i am asking.
thanks
If you have root permissions on a non-root user, do not worry about the root user. Its better to sudo than su.
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)
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)
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)
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)
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)
How do I change root password in SolarisExpress 11?
I used passwd while elevated to root and all it changes is the password of the user I am logged in, not te root password. (2 Replies)
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
LEARN ABOUT SUNOS
vipw
vipw(1B) SunOS/BSD Compatibility Package Commands vipw(1B)NAME
vipw - edit the password file
SYNOPSIS
/usr/ucb/vipw
DESCRIPTION
vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If
the password file is already being edited, then you will be told to try again later. The vi(1) editor will be used unless the environment
variable VISUAL or EDITOR indicates an alternate editor.
vipw performs a number of consistency checks on the password entry for root, and will not allow a password file with a "mangled" root entry
to be installed. It also checks the /etc/shells file to verify the login shell for root.
FILES
/etc/ptmp
/etc/shells
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO passwd(1), vi(1), passwd(4), attributes(5)SunOS 5.10 14 Sep 1992 vipw(1B)