Re: login problem
From: Chris Faulhaber (jedgar@fxp.org)
Date: 02/26/02
- Next message: Guy Coste: "Re: login problem"
- Previous message: Zvezdan Petkovic: "Re: Third /tmp location ? (and maybe a fourth too)"
- In reply to: Ian Barnes: "login problem"
- Next in thread: Dave Raven: "Re: login problem"
- Reply: Dave Raven: "Re: login problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 26 Feb 2002 15:57:11 -0500 From: Chris Faulhaber <jedgar@fxp.org> To: Ian Barnes <ian@cerebellum.za.net>
On Tue, Feb 26, 2002 at 11:06:27PM +0200, Ian Barnes wrote:
> Hi,
>
> I ssh into my FreeBSD 4.5 box using ssh. I wanted to change my shell from
> bash to tcsh, so i ran vipw, edited the file from /usr/local/bin/bash to
> /bin/bash (not thinking straight). Saved it, and exited. Now i cant get back
> in, because there is no /bin/bash.
>
> Is there anyway i can get root on the box?
>
Assuming you can login as a user with su privileges, use
'su -m'.
-- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message
- application/pgp-signature attachment: stored
- Next message: Guy Coste: "Re: login problem"
- Previous message: Zvezdan Petkovic: "Re: Third /tmp location ? (and maybe a fourth too)"
- In reply to: Ian Barnes: "login problem"
- Next in thread: Dave Raven: "Re: login problem"
- Reply: Dave Raven: "Re: login problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|