Re: Root users shell == no existant shell /bin/bash

From: Peter C. Lai (sirmoo_at_cowbert.net)
Date: 07/09/04

  • Next message: Roger Marquis: "Re: Root users shell == no existant shell /bin/bash"
    Date: Fri, 9 Jul 2004 06:33:42 -0400
    To: Anders Dahlqvist <anders@kommandoraden.info>
    
    

    On Fri, Jul 09, 2004 at 11:58:35AM +0200, Anders Dahlqvist wrote:
    > torsdagen den 8 juli 2004 17.29 skrev Brandon Grace:
    > > I made a mistake setting my shell and have set the root users shell to
    > > /bin/bash instead of /bin/sh. I am curiuos if anyone knows how to fix this.
    > > The machines is FreeBSD 4.8-RELEASE-p4 and does not have sudo only su.
    > > _______________________________________________
    > > freebsd-security@freebsd.org mailing list
    > > http://lists.freebsd.org/mailman/listinfo/freebsd-security
    > > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    >
    > ...and I gather that "su - toor" doesn't work either for some reason or other?

    toor has a disabled (*) password by default. What Brannon should have done was
    set a password for toor in the beginning, without mucking around with root's
    shell. But as a rule of thumb, you're probably superuser way too much if you
    develop an urge to change it shell anyway.

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


  • Next message: Roger Marquis: "Re: Root users shell == no existant shell /bin/bash"

    Relevant Pages

    • Re: no root login after changing shell
      ... > i wanted to change the shell for user root to bash. ... Don't set a password on the real root account or log in to it. ... Copy the entry for toor and replace the username and the ... - then edit the _copy_ to change the username field from toor to Rclyde ...
      (freebsd-questions)
    • Re: About Freebsd 7.0 versus 6.3
      ... I active toor account with standard shell. ... If you re-install, you're stuck with a GENERIC kernel, unless you ...
      (freebsd-questions)
    • Re: Root users shell
      ... >> develop an urge to change it shell anyway. ... > working in various root shells as part of my job. ... >> should have done was set a password for toor in the beginning, ... commercial distributions and FreeBSD. ...
      (FreeBSD-Security)
    • Re: Default users and the passwords
      ... >FreeBSD, like almost all Unix OS, has other default users, like uucp, ... the 'toor' account is locked by default. ... IIRC, the purpose of toor is to have a different shell for root (ie: ...
      (FreeBSD-Security)
    • Re: root & toor
      ... >> toor has bourne shell, ... Does toor own any files on the system, ... All login shells in the FreeBSD base system are statically linked - ... toor owns all the root-owned files on the system:) ...
      (FreeBSD-Security)