|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: How to login to a machine with invalid shell in /etc/passwd?
From: Steve Wingate (srwingat
gte.net)Date: Tue Jan 02 2001 - 20:53:40 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This doesn't work on my Solaris 7 box, which coincidentally I am also locked
out of for simliar reasons.
On Tuesday 02 January 2001 16:03, Kevin Sindhu wrote:
> > Ello,
>
> I 2nd that, and yes, su - root -c /bin/sh works.
>
> From man su(1M):
>
> Example 3: Executing command with User bin's Environment
> and Permissions
>
> To execute command with the temporary environment and per-
> missions of user bin, type:
>
> example% su - bin -c "command args"
>
> Also, you could always boot -s which will give you /bin/sh for root, and
> then mount /dev/dsk/c0t0d0s0 etc.
>
> HTH
>
> -Kevin
----------------------------------------
Content-Type: text/x-vcard; charset="us-ascii"; name="kevin.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Kevin Sindhu
----------------------------------------
-- # Steve Wingate, MCSE # srwingatgte.net # http://www.brainbench.com # Transcript ID 1714812
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]