bash as a login shell (was Root users shell == no existant shell /bin/bash)

From: Dan Langille (dan_at_langille.org)
Date: 07/09/04

  • Next message: Jacob Linscott: "RE: bash as a login shell (was Root users shell == no existant shell/bin/bash)"
    To: Daniel Brown <djb@unixan.com>
    Date: Fri, 09 Jul 2004 16:38:49 -0400
    
    

    On 9 Jul 2004 at 13:11, Daniel Brown wrote:

    > On the other hand, I've run across a sysadmin who always enables his
    > toor accounts -- and changes its shell to bash. As a result, not only
    > is there an alternate root account (good in case 'root' trampled on by
    > accident or purpose), but you can get root bash as a login shell while
    > leaving the real root to its normal shell.

    This make it sound like you find it very bothersome to login and type
    'bash' (or whatever), to give yourself the shell you want. Is that
    so?

    -- 
    Dan Langille : http://www.langille.org/
    _______________________________________________
    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: Jacob Linscott: "RE: bash as a login shell (was Root users shell == no existant shell/bin/bash)"

    Relevant Pages

    • Re: Where to put shell settings under Suse ?
      ... For runlevel 3, ... page for your shell. ... For a GUI login, your display manager is the login shell, and you should see ... Then xdm runs the Xsession script as the user. ...
      (comp.os.linux.misc)
    • Re: Issue with the script command in users .kshrc and .bashrc files
      ... One approach is to replace the login shell (in ... Installed-Size: 204 ... Package: pdmenu ...
      (comp.unix.shell)
    • Re: Freeze accounts
      ... Setting their login shell to /bin/false (and later, ... block all account access. ... And traditionally the ftp ...
      (Debian-User)
    • Re: set the environment variable at boot time
      ... and that seems to be where you've stuck your script. ... shell configuration such as /etc/profile. ... Depends on your distribution, and the shell you are using. ... login shell, and with few exceptions, the ...
      (comp.os.linux.misc)
    • Re: about seting file permission by default
      ... From 'man bash', the INVOCATION section: ... "When bash is invoked as an interactive login shell, ... .profile as already suggested .bashrc. ... "When an interactive shell that is not a login shell is started, ...
      (comp.os.linux.misc)