AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-13-2012, 06:36 AM
|
#1
|
|
Member
Registered: Aug 2007
Posts: 181
Rep:
|
not able to su - root
Hi,
I am not able to su - root, below are permission set on su
bash-3.00$ su -
root's Password:
3004-307 You are not allowed to su to this account.
bash-3.00$ ls -l su
-r-sr-xr-x 1 root security 32732 Apr 03 2009 su
Please suggest.
|
|
|
|
09-13-2012, 06:49 AM
|
#2
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
I'm not sure it has anything to do with the permissions on the "su" executable file---can you "su" to any user?
Who is in the "security" group
|
|
|
|
09-17-2012, 12:16 AM
|
#4
|
|
Member
Registered: Aug 2007
Posts: 181
Original Poster
Rep:
|
Thanks acid_kewpie for your response. I have checked the site, and checkef on server , as for as settings are concerned itlook OK, but still unable to get the root cause for unable to su -.
I am able to su - to any oher Normal user then root.
# lsuser -a sugroups root
root sugroups=All
|
|
|
|
09-17-2012, 05:53 AM
|
#5
|
|
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,079
|
Are you member of group security or not?
|
|
|
|
09-17-2012, 11:38 PM
|
#6
|
|
Member
Registered: Aug 2007
Posts: 181
Original Poster
Rep:
|
Yes,
Below is output of id command.
bash-3.00# id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit),11(lp)
|
|
|
|
09-18-2012, 02:11 AM
|
#7
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,828
|
what? But.. you ARE root..??? AND very very clearly NOT in the sugroups group. Did you not read anything we've said?
Last edited by acid_kewpie; 09-18-2012 at 02:19 AM.
|
|
|
|
09-18-2012, 03:33 AM
|
#8
|
|
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,079
|
Yes, it's a bit confusing: you are root-user, and you want to execute 'su -'? Why?
|
|
|
|
09-19-2012, 11:08 PM
|
#9
|
|
Member
Registered: Aug 2007
Posts: 181
Original Poster
Rep:
|
Thanks acid_kewpie , NevemTeve for your response.
the output which I have send is from VIO Server then mkvt -id (problematic server), not Directly from vio client (Problematic Server),
we dont have directly root login enabled.
I am a able to su to any normal user other then root,
I have checked root is in su groups
# lsuser -a sugroups root
root sugroups=All
|
|
|
|
09-20-2012, 02:28 AM
|
#10
|
|
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,079
|
No. The user that wants to became root should be in the group security (or which), not the root itself.
|
|
|
|
09-21-2012, 12:09 AM
|
#11
|
|
Member
Registered: Jan 2012
Location: South Africa
Posts: 192
Rep:
|
Quote:
Originally Posted by manoj.linux
the output which I have send is from VIO Server then mkvt -id (problematic server), not Directly from vio client (Problematic Server),
|
Am I reading this correctly - is it on a VIO server (rather than an AIX partition) that you are trying to su to root? The normal way of becoming root on a VIO server is with the command, and not with su.
|
|
|
|
09-21-2012, 01:17 AM
|
#12
|
|
Member
Registered: Aug 2007
Posts: 181
Original Poster
Rep:
|
This is on AIX Partition only not on vio server.
|
|
|
|
09-21-2012, 01:53 AM
|
#13
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,828
|
Quote:
Originally Posted by manoj.linux
This is on AIX Partition only not on vio server.
|
Don't say things that are not relevant then.
We've told you what's wrong, and asked you questions you've not answered... what else do you expect from us??
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:38 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|