- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't change root passwd
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
Discussions
Discussions
Forums
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
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
тАО04-30-2002 01:11 AM
тАО04-30-2002 01:11 AM
Can't change root passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:24 AM
тАО04-30-2002 01:24 AM
Re: Can't change root passwd
$su - root
password:
you will get copyright and login messages
#passwd
give the new password now. it is for root.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:28 AM
тАО04-30-2002 01:28 AM
Re: Can't change root passwd
# logname
to change passwd
# /sbin/passwd root
or if you are using nis
# /sbin/passwd -r nis root
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:28 AM
тАО04-30-2002 01:28 AM
Re: Can't change root passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:35 AM
тАО04-30-2002 01:35 AM
Re: Can't change root passwd
Since you havent given information on OS nor box type, I would suggest that you have a look at the result of your su - (id cmd), to be sure you are now root and try to modify the passwd with sam, and then give us the result...
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:39 AM
тАО04-30-2002 01:39 AM
Re: Can't change root passwd
do try this also.
$su -
password:
#passwd
give the new password now for root.
#login root
password:
give the new password .
can you login ?
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:42 AM
тАО04-30-2002 01:42 AM
Re: Can't change root passwd
I agree with Victor !!
can you provide the enough info. is your system is a trusted system???
try checking the passowrd file
# pwck -s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 01:47 AM
тАО04-30-2002 01:47 AM
Re: Can't change root passwd
try this
telnet localhost
login root
passwd
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 03:24 AM
тАО04-30-2002 03:24 AM
Re: Can't change root passwd
are you sure you used the su-command with minus? Only if you do so, you don't only switch identity but also user environment. So take care, that you use:
su - root
instead of
su root
If this doesn't work, try:
telnet localhost
on your host and login as root.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2002 03:28 AM
тАО04-30-2002 03:28 AM
Re: Can't change root passwd
su -
to su to root. This will read roots .profile and set the environemt to roots
HTH
Dave.