Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot su to root

Status
Not open for further replies.

mb37

IS-IT--Management
May 23, 2003
5
0
0
NL
Hi,

We a problem when trying to su to root, we get the error message "Cannot su to "root" : Authentication is denied."

However we can login remotely as root with the password and it works ok.

SU groups are set to ALL
Another user can SU to user is set to true
Account is not locked

Can anybody help.

Thanks
Mark
 
Hi mb37

For remote logins ...are you using rsh or ssh?

sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
 
Sounds like su'ing to root has been disabled. To check/fix:

1.) smit
2.) Security & Users
3.) Users
4.) Change/Show Characteristics of a User
5.) enter root for the user name
6.) Check to see if "Another user can SU TO USER" is set to true.
7.) Check this on the account that is trying to su too.

Most likely cause is that the above is set to false on the root account.

scott

ps - logging in as root over the network is a bad idea. Anyone with a network sniffer can capture your password. Just my $0.02 worth.
 
We are using telnet to log on remotely. Machine is usually more secure than this but enabled remote login as a test.

As per my first post the "Another user can SU to user" is set to true.

Thanks for your replies.

Mark
 
Chaps,

Found the solution.

Someone had changed the suid bit on the /usr/bin/su. Chmod u+s /usr/bin/su did the trick.

Thanks
Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top