OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Michael Richardson (mcrsandelman.ottawa.on.ca)
Date: Sat Jul 14 2001 - 19:31:50 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    >>>>> "Emmanuel" == Emmanuel Dreyfus <manunetbsd.org> writes:
        Emmanuel> But it is a pain to be unable to use sshd with a read-only
        Emmanuel> filesystem.

        Emmanuel> Would there be a problem if we allow using a pty that you do
        Emmanuel> not own if it is owned by root? After all, the risk is that
        Emmanuel> root snoops what you are doing on your pty, but root can always
        Emmanuel> snoop any pty, regardless who is the owner, isn't it?

      I think that this is reasonable.

      Historically, the SSH client also complains a lot if you are running from
    a floppy-disk boot, since it can't find stuff in /etc/passwd, etc.. Booting
    from floppy/cdrom to do:

         ssh -l myid myserver dd if=/dev/rst0 | (cd /mnt; restore -if - )

      From a security point of view, it would be simpler if one could even run
    "sshd -D" from the floppy/cdrom boot in a way that simply asked:
          "X Y wants to run "cd /mnt; restore -if -" (y/n)

      This means that the backup server never has to allow password logins at
    all.

    ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
    ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
    ] mcrsandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
    ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [