- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:32 PM
12-12-2001 06:32 PM
Hi all,
Does any one know the procedure of changing the Root user password as this is soon going to be administrated by me I would like to know if there is a set procedure to follow.
Help me impress those I work with please...Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:36 PM
12-12-2001 06:36 PM
Re: Root user
You need to know the old password as well.
passwd root
enter old password
enter new password twice.
That's it.
If you do not know the root password currently, boot to single user mode and change it. In single user mode you're automagically logged in as root.
If this is a trusted system, boot to single user mode. Run /etc/tsconvert -r (revert to normal system) change password run /etc/tsconvert to revert to a trusted system.
If there is a password required to boot to single user mode, find that out first.
Scott.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:39 PM
12-12-2001 06:39 PM
Re: Root user
To change the passwd for root (or any user)
you use the 'passwd' command.
# /sbin/passwd root
You must be 'root' already to change it!
You can change anyone's password with using
the passwd command as long as you are root.
Have a look at the man page for 'passwd' for
additional options.
# man passwd
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:40 PM
12-12-2001 06:40 PM
SolutionStart SAM
Select accounts for users & groups
select users
tab into bottom window
select root
tab to actions
select modify
tab to modify password hit return
follow prompts to change password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:45 PM
12-12-2001 06:45 PM
Re: Root user
Login as root. then,
# passwd
type the new password !
See man pages of passwd command.
shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 06:58 PM
12-12-2001 06:58 PM
Re: Root user
If you are referring to policies for choosing and changing the root password, that's entirely up to you. I think it is wise to:
- change root password on a regular basis - no more than a couple of months between changes - maybe more often
- limit knowledge of root's password to only those who really need to know
- combine alpha, numeric, and special characters
- 6 - 8 characters (preferrably 8)
- be sure you are logged in on more than 1 terminal session before changing the password and test logging in on another session as root before you log out
- avoid schemes (patterns) that can be figured out (ie using the name of the month in a foreign language or from an alternative calendar such as the Mayan)
- if you have a large shop it may be helpful to keep a secure record of past root passwords in case a server is missed a couple of times
- don't make it too hard to remember - perhaps use an acronym (with some numbers and punctuation)
- choose something that is somewhat different for each server just in case it is cracked on one server the others aren't immediately vunerable
- if you think the root password has possibly been compromised, change it
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 07:14 PM
12-12-2001 07:14 PM
Re: Root user
Another item(s) that you could consider is
this.
Passwords on systems to be changed once
a month.
Make sure that a minimum number of people
have access to the password. Preferable
to have it locked away in secure location.
Don't use the root account or passwd at all,
use 'sudo' as an alternative.
'sudo' is quite easy to configure, it's free
it's already compiled and can be downloaded
from the HP porting centre.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1/
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 08:14 PM
12-12-2001 08:14 PM
Re: Root user
If you already know the root password then it's piece of cake.. ! type passwd on # prompt and follow the instruction
If you don't know the password then you need to bring down the system in single user mode and have to change the password.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2001 09:25 PM
12-12-2001 09:25 PM
Re: Root user
As you are going to be administering the machine(s) may I suggest the following informative SYSADMIN manual from HP....
http://www.docs.hp.com/hpux/onlinedocs/B2355-90672/B2355-90672.html
MND