Re: boot banner project

From: Charles Swiger (cswiger_at_mac.com)
Date: 05/10/05

  • Next message: Andre Guibert de Bruet: "VM pager subsystem shutdown?"
    Date: Tue, 10 May 2005 01:09:57 -0400
    To: Michael Nottebrock <lofi@freebsd.org>
    
    

    [ Sorry for the delay in responding, I decided to take the weekend off
    from email. 600 FreeBSD messages await me, no doubt filled with a
    mixture of useful tech stuff and the copyright-thread-that-won't-die. ]

    On May 8, 2005, at 3:57 AM, Michael Nottebrock wrote:
    >>> You got lucky then, because there's some actual footshooting
    >>> potential in
    >>> doing that. Use toor.
    >>
    >> Interesting, I have been running /bin/sh since 1.0R (yes..) for root
    >> and it never bit me. Where is that footshooting potential?
    >
    > Sorry, I just scanned the thread before replying - there's probably no
    > footshooting potential in using /bin/sh for root.
    >
    > I was thinking about using (/usr/local/bin/)bash for root, something a
    > lot of
    > people try to do (until they notice a toe missing :).

    I've managed to plunk a round or two into my own foot, using a shell
    located in /usr/local, rather than staticly linked and present on /.
    :-) It's no fun to boot off a CD because the system can't automaticly
    fsck the filesystem that root's shell wants to use, and wants manual
    help...

    However, the toor account is a fine idea: every system I've got--
    whether running FreeBSD or not-- uses /bin/sh for root's shell.
    However, I've also created toor accounts using my preferred shell [1]
    as a backup. If FreeBSD were to ship with tcsh as toor's shell, and
    /bin/sh as root's shell, that would still provide a super-user login
    with tcsh for those who want such a thing.

    However, logging in as a normal user and gaining privileges via sudo
    seems to work just as well, and avoids the need to login directly as a
    UID==0 account.

    -- 
    -Chuck
    [1]: ZSH.
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Andre Guibert de Bruet: "VM pager subsystem shutdown?"

    Relevant Pages

    • Re: stdout/stderr/???
      ... The difference is not Linux vs FreeBSD but a question ... of the shell you are using -- I assume 'bash' under Linux ... An infinite loop while running or compiling the driver code? ... > tty, but that tty does not accept input ...
      (freebsd-questions)
    • Re: Backspace
      ... But actually I'm using Bourne shell on FreeBSD 6.1 just like the ... Solaris in lab, and the FreeBSD is freshly installed, I have checked ... I think Solaris was just like the above. ... shells in UNIX environments have startup files to customize the key ...
      (freebsd-questions)
    • Re: Backspace
      ... But actually I'm using Bourne shell on FreeBSD 6.1 just like the ... Solaris in lab, and the FreeBSD is freshly installed, I have checked ... Programs like emacs generally use terminfo and termcap databases that define keys and other terminal capabilities. ... >> MailScanner thanks transtec Computers for their support. ...
      (freebsd-questions)
    • 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: New Freebsd Install Guide Available
      ... > documentation, which, of necessity, needs to be written in a rather ... > one would think it is impossible to run FreeBSD without Gnome. ... So, for example in my book all examples were Bourne shell, because ...
      (freebsd-questions)