On Tue, Mar 3, 2009 at 9:49 PM, Olivier Nicole <o...@cs.ait.ac.th> wrote:

> Hi,
>
> > How can I change my shell to sh without logining?
>
> You cannot!
>
> But what you can:
>
> - boot in singkle user mode
> - mount all your s=disks: mount -a
> - edit /etc/passwd with your favourite editor
>
> Bests,
>
> olivier



WRONG!

DO NOT EDIT /etc/passwd DIRECTLY!!!
vipw, or change your EDITOR environment variable to use something else other
than vi.

Otherwise correct.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to