- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot 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
04-05-2004 11:26 PM
04-05-2004 11:26 PM
Cannot su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 11:33 PM
04-05-2004 11:33 PM
Re: Cannot su to root
Is the system trusted?
What is the length of the password?
If the password is long, try only the first 8 characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 11:37 PM
04-05-2004 11:37 PM
Re: Cannot su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 11:40 PM
04-05-2004 11:40 PM
Re: Cannot su to root
If u have this file, /tcb/files/auth/r/root
then ur system is trusted one.
Try creating the user from SAM, and see, whether u r able to switch user.!
suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 11:48 PM
04-05-2004 11:48 PM
Re: Cannot su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 11:50 PM
04-05-2004 11:50 PM
Re: Cannot su to root
Try the first 8 characters for root as Cheryl suggested.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2004 11:54 PM
04-05-2004 11:54 PM
Re: Cannot su to root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 12:04 AM
04-06-2004 12:04 AM
Re: Cannot su to root
If yes change and password and try. Also what gets loggin in sulog when you try su to root from this account?
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 12:19 AM
04-06-2004 12:19 AM
Re: Cannot su to root
Peraphs You'll have to figure out the right permissions for other files and fix them too.
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:10 AM
04-06-2004 01:10 AM
Re: Cannot su to root
If I understand correctly you have two user accounts setup lets call them Jack and Jill
from Jack you can su to root and the password works fine
from Jill you su to root using the same password and receive the message "incorrect password"
this leads me to think its not a password problem.
have these user names been used previously ?
have the users been created with home directories in the same tree path. Are the users directory permissions the same ?
I dont think this is a passwd file problem or permission problem for the "su" command as it would effect both accounts.
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2004 01:44 AM
04-06-2004 01:44 AM
Re: Cannot su to root
I found out what the problem was. The account that had this problem has tcsh as shell and ran /usr/local/coreutils/bin/su instead of /usr/bin/su because it was set so in PATH in the account's .tcshrc. The other account didn't experience the same problem because it's default shell is ksh and according to the .profile it runs the /usr/bin/su. Thank you for taking your time.