- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change root password in singel user moad
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
тАО02-14-2009 01:42 AM
тАО02-14-2009 01:42 AM
change root password in singel user moad
Option not available using /sbin/passwd
Must invoke /bin/passwd to use option.
Thanks for replay.
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 02:04 AM
тАО02-14-2009 02:04 AM
Re: change root password in singel user moad
please do the following in the single user mode.
what does teh O/P of the #mount
command show? is /usr mounted?
#for i in /dev/vg00/lvol*
>do
>fsck /dev/vg00/lvol*
>done
#mount -a
then do
#passwd
this shall help you.
you are facing this as /usr Fileystem maigt not be mounted and you will require /usr/sbin/passwd to change the root passwd.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 02:04 AM
тАО02-14-2009 02:04 AM
Re: change root password in singel user moad
Did you mount your filesystems in single-user mode?
# mount -a
# passwd root
or
# vi /etc/passwd
and remove the password string for root.
Don't forget to completely reboot your system after changing the passwd in single-user mode!
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 02:42 AM
тАО02-14-2009 02:42 AM
Re: change root password in singel user moad
When you login into single User mode , some File system will not be mounted,
Either you can try,
# mount -a
(will mount all the File system) than proceed to change passwd for root.
or
as mentioned in post
>>Option not available using /sbin/passwd
Must invoke /bin/passwd to use option<<
so use has below command to change
#/bin/passwd root
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 03:46 AM
тАО02-14-2009 03:46 AM
Re: change root password in singel user moad
thanks for help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2009 11:12 PM
тАО02-14-2009 11:12 PM
Re: change root password in singel user moad
Once in teh single user mode you always need to mount the /usr file system as all the commands are there in the path /usr/bin and /usr/sbin and then you can use the command passwd to do that simply and do a reboot by shutdown -ry 00.
this is better as the system shall restart naturally and also you shall be able to check that the changed root password sustains reboot.
please find the following link and please have sometime to assign points to the responses made for you question.
This always helps you get the bette responses.
you shall need to reopen the thread if you (the author) wish to do so by clicking just in the bottom of the discussion the button "Reopen Thread>>".
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
regards
sujit