Re: how to change roots shell



It wont let me link it. Im going to see if I can walk a user at the site through single user mode.

Thanks for trying to help.
Thron

Andy Greenwood <greenwood.andy@xxxxxxxxx> wrote: can you not link /bin/sh to change?

On 5/18/06, Izwan Mohd wrote:
Hope you have "sudo" you can do "sudo -u root bash" if don't nothing
came cross my mine yet how to deal with it :-\

unixforums 1 wrote:

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 /* 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@xxxxxxxxxxx mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@xxxxxxxxxxx"
>
>
>
su root -c chsh root
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@xxxxxxxxxxx"


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


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

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

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Does FreeBSD support sparse kernel crash dumps?
    ... from single user mode, the ... I have a 256MB IDE mode card on a machine with 512MB ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (freebsd-questions)
  • Re: arts/ALSA problem after unstable upgrade (solved)
    ... ...as root; ... Do You Yahoo!? ... Mail has the best spam protection around ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Runlevel3 services
    ... when i su to root... ... press serv and tab and all i get is servertool and ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Fedora)
  • Re: where is mergemaster?
    ... being set correctly in single user mode. ... # mount -a -t ufs ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (freebsd-questions)
  • Re: Newbie cannot start graphical desktop
    ... > You are trying to use X programs as root? ... with Knoppix and my monitor now perfectly configured. ... Do You Yahoo!? ... Mail has the best spam protection around ...
    (Debian-User)