cancel
Showing results for 
Search instead for 
Did you mean: 

su to root

SOLVED
Go to solution
dom kris
Frequent Advisor

su to root

Hi,

apparently on Tru64 you cannot su to root when you are a standard user.
I have tested this on a v5.1a and v5.1b, both without Enhanced Security. I logon as a standard user, do a 'su root' and get a message saying 'You do not have permission to su root'
I have tested the same thing on Solaris and HP-UX and apparently on those OS you can su to root.
Is there some config file on Tru64 to configure the su cmd?

With kind regards

Kris
5 REPLIES
Nicolas Dumeige
Esteemed Contributor

Re: su to root

Does it work better if you add this user in system group ?
All different, all Unix
Nicolas Dumeige
Esteemed Contributor

Re: su to root

On Linux and BSD system I think the user must belong to the wheel group.

All different, all Unix
dom kris
Frequent Advisor

Re: su to root

Basically, the man page states that you cannot do it on Tru64, however, it seems strange that Tru64 does not follow the rest of the Ux's.
Therefore I was just wondering if there was no config file or option that you can set to enable the su to root.
The problem is that if you want to secure a system, deny root access via network, deny root access via SSH, it is generally advised to login as a non priviledge user and then su to root. However, if this does not work, then what? Working on the physical console is not possible.
Michael Schulte zur Sur
Honored Contributor
Solution

Re: su to root

Hi,

man su states:
Only users who belong to group number 0 (system) can issue su to become root, even with the root password.

hth,

Michael


Mobeen_1
Esteemed Contributor

Re: su to root

Kris,
I think users belonging to system group can only su to root

rgds
Mobeen