Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 09:15:25 -0700 (PDT)
From:      unixforums 1 <unixforums@yahoo.com>
To:        Izwan Mohd <zuan@mylinux.net.my>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to change roots shell
Message-ID:  <20060518161525.18250.qmail@web39115.mail.mud.yahoo.com>
In-Reply-To: <446C983D.1040301@mylinux.net.my>

next in thread | previous in thread | raw e-mail | index | archive | help
 tried it and i get the following error:

su: change: No such file or directory

What happened originally is I accidently changed the shell to "change" and now i get the following error when I su.

su: change: No such file or directory

This is a remote system so if at all possable i need to do it through ssh.

Thanks

Izwan Mohd <zuan@mylinux.net.my> wrote: unixforums 1 wrote:

>Hi,
> I did a completely newbie move and changed the root�s  shell to something that doesn�t work. So, needless to say now I can�t su to root  or even login as root. Is there a way I can fix this without rebuilding the  server?
>  
> Thanks for any help you can provide.
>
>   
>---------------------------------
>Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>  
>
su root -c chsh root
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060518161525.18250.qmail>