- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- su to root
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
07-27-2005 09:16 AM
07-27-2005 09:16 AM
su to root
Not sure why su to root isn't aaccpeting the password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:21 AM
07-27-2005 09:21 AM
Re: su to root
You'll have to boot into single user mode to change the root password if you have forgotten it. You just can define then a new password with the 'passwd' command.
best regards,
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:24 AM
07-27-2005 09:24 AM
Re: su to root
I am at home and can't get to the console. Any other method? Kinda of in a bind. If not, I guess I'll take the 1 hr drive back into work....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:31 AM
07-27-2005 09:31 AM
Re: su to root
There is no other method that I know of to change the root password.
Did you try already a ssh connection? Maybe you can log on as root directly now.
Kurt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:34 AM
07-27-2005 09:34 AM
Re: su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 09:36 AM
07-27-2005 09:36 AM
Re: su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 10:08 AM
07-27-2005 10:08 AM
Re: su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 10:14 AM
07-27-2005 10:14 AM
Re: su to root
If so, will need to login on console. No need to boot into single user mode, root login on console will work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 10:43 AM
07-27-2005 10:43 AM
Re: su to root
Non trusted system.
I'll take the drive in and boot to s1.
10x anyway
RPM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2005 05:01 PM
07-27-2005 05:01 PM
Re: su to root
Did you try with telnet to login from local machine itself. what it is saying during login?
check with tail -f /var/adm/syslog/syslog.log from your user itself.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 02:55 AM
07-28-2005 02:55 AM
Re: su to root
Try telneting to another machine from that user and rlogin back to your machine. Why do you need to su to root can you login directly as root?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 04:50 AM
07-28-2005 04:50 AM
Re: su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2005 10:42 AM
07-28-2005 10:42 AM
Re: su to root
you should be able to get to the GSP/MP even though you are remote. Normally I don't have to drive in since GSP/MP provides all the access required for shutdown/powerup.
Anyways, please do let us know what did you find out.
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2005 05:06 AM
07-29-2005 05:06 AM
Re: su to root
/etc/passwd
or of trusted
/tcb/files/auth/r/root
Boom your fixed. :).
If you have any handydandy batch scheduler that can launch things as root. Schedule a /usr/lbin/modprpw -k root or a /usr/lbin/modprpw -v root to fix expired
you can use the usermod sam command to set a new password by specifying an encrypted password that you know :)
Also setting up your GSP on the lan would be good. You can not only reboot the system, but if root's account would become locked you could still gain access there if you knew the password without having to drive in
You may want to consider adding sudo you your system
with that you could gain access to your acccount then set your account a as privledge to sudo to root
by using your password instead of roots.
Between this and the GSP you should not have to drive in again uless you get a major case of Fatfinger ehhehe. :).
Hope this helps for the next time.