Date: Wed, 22 Oct 2008 23:40:26 -0400 From: Jon Radel <jon@radel.com> To: Benjamin Lee <ben@b1c1l1.com> Cc: freebsd-questions@freebsd.org Subject: Re: Locked out of Root Message-ID: <48FFF22A.7070309@radel.com> In-Reply-To: <48FFEEAA.4060600@b1c1l1.com> References: <27ade5280810221955l6bb7fe23u504b008e6799fc57@mail.gmail.com> <48FFEEAA.4060600@b1c1l1.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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
setting.
which may well be why the OP keeps stressing that his unprivileged user
is not in the wheel group. ;-)
--Jon Radel
jon@radel.com
[-- Attachment #2 --]
0 *H
010 + 0 *H
100\mtv0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080324165921Z
090324165921Z0^10URadel10U*
Jon Thomas10UJon Thomas Radel10 *H
jon@radel.com0"0
*H
0
t,Pp#
٬q_2=L-^m>z3ʟV![([ AoE}ϛ3/6?cWx(/)'$6sTl<*i'=uoxMbt
rdtnxud1R6T>zU0FZ,vN9NP{>qE`^P; *Wg/jN*OVՠQMB(=:
*0(0U0
jon@radel.com0U0 0
*H
h!oܨ[А!fN#[Z
b$3?x&$~Ħ9}`MX[It}/bXZajgxɥ' 2NrtWAr sFި'^@mDVw\)00\mtv0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
080324165921Z
090324165921Z0^10URadel10U*
Jon Thomas10UJon Thomas Radel10 *H
jon@radel.com0"0
*H
0
t,Pp#
٬q_2=L-^m>z3ʟV![([ AoE}ϛ3/6?cWx(/)'$6sTl<*i'=uoxMbt
rdtnxud1R6T>zU0FZ,vN9NP{>qE`^P; *Wg/jN*OVՠQMB(=:
*0(0U0
jon@radel.com0U0 0
*H
h!oܨ[А!fN#[Z
b$3?x&$~Ħ9}`MX[It}/bXZajgxɥ' 2NrtWAr sFި'^@mDVw\)0?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAmtv0 + 0 *H
1 *H
0 *H
1
081023034026Z0# *H
1;h㨟+?j`c0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0 +71x0v0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAmtv0*H
1xv0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CAmtv0
*H
`lW{hKDN|pF{̼I:4_z!B&h3;˵p`1Ϸ+5TELۑʔV4\/eAw7
gs`O=nZD`L%,olE}XPPAT?i 9]X$!:v]^~/2Y:obK2\ir,,~g"!(3אp'~li5K*`+VL0'xi5مc)S
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48FFF22A.7070309>
