Benjamin Lee wrote:
> On 10/22/08 19:55, APseudoUtopia wrote:
>> Hey,
>> I have one user (other than root and the other system users) on my
>> box, and that user is _NOT_ in the wheel group. I also have root
>> logins disabled via SSH. This is a remote server and all I have is SSH
>> access.
>> Is there any way that I can gain root? I know the root password and
>> everything, but I just can't get to it. The user is not in the wheel
>> group, and root login is disabled in SSH.
>> Thanks for any help/advice.
> Login as the unprivileged user and run:
> $ su
> See su(1).

Noting with care the following paragraph:

PAM is used to set the policy su(1) will use.  In particular, by default
only users in the ``wheel'' group can switch to UID 0 (``root'').  This
group requirement may be changed by modifying the ``pam_group'' section
of /etc/pam.d/su.  See pam_group(8) for details on how to modify this

which may well be why the OP keeps stressing that his unprivileged user
is not in the wheel group.  ;-)

--Jon Radel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to