- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I can´t su to root from a common user
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
09-30-2005 06:15 AM
09-30-2005 06:15 AM
I have the following problem, when I try su to root from a common user I can´t, and the answer is su:Sorry, but I´m able to su to a common user from root, but if I su to a common user from root and after that su to root from this common user it´s allowed.
I´ve already looked /usr/bin/su and /usr/bin/login, as I saw in others foruns but it´s OK.
I´ll be waiting for any help.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:19 AM
09-30-2005 06:19 AM
Re: I can´t su to root from a common user
Keyboard is OK? Not doing caps lock on?
What does the sulog say? The specific entry when it fails. Anything in syslog.log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:23 AM
09-30-2005 06:23 AM
Re: I can´t su to root from a common user
See if you have 'SU_ROOT_GROUP' defined in '/etc/default/security'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:41 AM
09-30-2005 06:41 AM
Re: I can´t su to root from a common user
My keybord is ok, and the´s nothing in syslog.log
sulog shows:
SU 09/30 13:32 - tCb sandre-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:43 AM
09-30-2005 06:43 AM
Re: I can´t su to root from a common user
But I don´t have it in all my servers and only one is presenting this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:57 AM
09-30-2005 06:57 AM
Re: I can´t su to root from a common user
Check the permission of su
-r-sr-xr-x 1 root bin 24576 Aug 6 1998 /usr/bin/su
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 07:00 AM
09-30-2005 07:00 AM
Re: I can´t su to root from a common user
The permission is ok, just like yours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 07:00 AM
09-30-2005 07:00 AM
Re: I can´t su to root from a common user
-rw-r--r-- 1 root sys 47 Feb 13 2003 security
and enter SU_ROOT_GROUP="your group" and try again .
thx,
bl.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 07:03 AM
09-30-2005 07:03 AM
Re: I can´t su to root from a common user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 07:16 AM
09-30-2005 07:16 AM
Re: I can´t su to root from a common user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 07:31 AM
09-30-2005 07:31 AM
Re: I can´t su to root from a common user
Not sure if HP-UX has this requirement.
Just for fun, try adding your non-root account to the same groups as root, and see if that fixes the problem. If so, you're on the right track.
-tjh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 09:08 AM
09-30-2005 09:08 AM
SolutionIf your root password has one of these characters you might want to try changing the password to one without, then see if su works from these problem users.
- John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 05:51 PM
09-30-2005 05:51 PM
Re: I can´t su to root from a common user
/usr/bin
use what su
what version it is showing
# what su
su:
$Revision: B.11.22_LR
Tue Jul 23 18:59:22 PDT 2002 $
it should show some thing like this , or upgrade your su.
vikas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:45 PM
09-30-2005 06:45 PM
Re: I can´t su to root from a common user
What is there in /etc/securetty file?
Is sudo running to control root based logins?
Check it and revert back.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 11:46 PM
10-02-2005 11:46 PM
Re: I can´t su to root from a common user
My root password really had special characters, then I changed it and the problem is over.
Thanks very much.
And thanks everyone that tried to help me.
Sandreliz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 11:48 PM
10-02-2005 11:48 PM
Re: I can´t su to root from a common user
Special character like # will not work with present hp-ux systems. I hope 11.32 will do.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 11:49 PM
10-02-2005 11:49 PM
Re: I can´t su to root from a common user
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=805657
If you are problem is resolved, try to assign points.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 11:50 PM
10-02-2005 11:50 PM
Re: I can´t su to root from a common user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 11:59 PM
10-02-2005 11:59 PM
Re: I can´t su to root from a common user
Please assing points to the repliers to help you in future. ;)
thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2005 12:03 AM
10-03-2005 12:03 AM
Re: I can´t su to root from a common user
I've already assigned points.
Thanks again.
Sandreliz