- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Switching to user accounts from root asking for pa...
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
02-04-2004 02:36 AM
02-04-2004 02:36 AM
Switching to user accounts from root asking for password
The HP-UX server is in trusted mode. From past few days we started facing a strange problem. When 'root' user tries to switch to any user using 'su' command it is prompting for a paaaword.
If anybody knows about this, please give me the solution to get out of this problem.
Thanks,
Phani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:38 AM
02-04-2004 02:38 AM
Re: Switching to user accounts from root asking for password
run this please:
pwck
It may show problems that need to be dealt with.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:39 AM
02-04-2004 02:39 AM
Re: Switching to user accounts from root asking for password
OS version 11.11 or 11.0 ?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:41 AM
02-04-2004 02:41 AM
Re: Switching to user accounts from root asking for password
Are you sure that you truly are root? Try either logging in directly as root or doing a su to root first.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:43 AM
02-04-2004 02:43 AM
Re: Switching to user accounts from root asking for password
When you are 'root' do an 'id' and make sure it is showing 0.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2004 02:44 AM
02-04-2004 02:44 AM
Re: Switching to user accounts from root asking for password
Try the following commands:
whoami
who am i
If whoami returns root - you are truly root.
If not you're not
who am i should always return the "true" login name - even if you su / sudo to root.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 09:29 PM
02-10-2004 09:29 PM
Re: Switching to user accounts from root asking for password
$su -
#su user (root changed to user "user" but prompt remain # same and you think ur root but actually the id is of user.
THen you mistakenly try once agian
su - user and then u r asked for password.
ALways check id before using su to user.
Jawed