README.privsep (99060) | README.privsep (113908) |
---|---|
1Privilege separation, or privsep, is method in OpenSSH by which 2operations that require root privilege are performed by a separate 3privileged monitor process. Its purpose is to prevent privilege 4escalation by containing corruption to an unprivileged process. 5More information is available at: 6 http://www.citi.umich.edu/u/provos/ssh/privsep.html 7 8Privilege separation is now enabled by default; see the --- 29 unchanged lines hidden (view full) --- 38Privsep requires operating system support for file descriptor passing. 39Compression will be disabled on systems without a working mmap MAP_ANON. 40 41PAM-enabled OpenSSH is known to function with privsep on Linux. 42It does not function on HP-UX with a trusted system 43configuration. PAMAuthenticationViaKbdInt does not function with 44privsep. 45 | 1Privilege separation, or privsep, is method in OpenSSH by which 2operations that require root privilege are performed by a separate 3privileged monitor process. Its purpose is to prevent privilege 4escalation by containing corruption to an unprivileged process. 5More information is available at: 6 http://www.citi.umich.edu/u/provos/ssh/privsep.html 7 8Privilege separation is now enabled by default; see the --- 29 unchanged lines hidden (view full) --- 38Privsep requires operating system support for file descriptor passing. 39Compression will be disabled on systems without a working mmap MAP_ANON. 40 41PAM-enabled OpenSSH is known to function with privsep on Linux. 42It does not function on HP-UX with a trusted system 43configuration. PAMAuthenticationViaKbdInt does not function with 44privsep. 45 |
46On Compaq Tru64 Unix, only the pre-authentication part of privsep is 47supported. Post-authentication privsep is disabled automatically (so 48you won't see the additional process mentioned below). 49 |
|
46Note that for a normal interactive login with a shell, enabling privsep 47will require 1 additional process per login session. 48 49Given the following process listing (from HP-UX): 50 51 UID PID PPID C STIME TTY TIME COMMAND 52 root 1005 1 0 10:45:17 ? 0:08 /opt/openssh/sbin/sshd -u0 53 root 6917 1005 0 15:19:16 ? 0:00 sshd: stevesk [priv] 54 stevesk 6919 6917 0 15:19:17 ? 0:03 sshd: stevesk@2 55 stevesk 6921 6919 0 15:19:17 pts/2 0:00 -bash 56 57process 1005 is the sshd process listening for new connections. 58process 6917 is the privileged monitor process, 6919 is the user owned 59sshd process and 6921 is the shell process. 60 | 50Note that for a normal interactive login with a shell, enabling privsep 51will require 1 additional process per login session. 52 53Given the following process listing (from HP-UX): 54 55 UID PID PPID C STIME TTY TIME COMMAND 56 root 1005 1 0 10:45:17 ? 0:08 /opt/openssh/sbin/sshd -u0 57 root 6917 1005 0 15:19:16 ? 0:00 sshd: stevesk [priv] 58 stevesk 6919 6917 0 15:19:17 ? 0:03 sshd: stevesk@2 59 stevesk 6921 6919 0 15:19:17 pts/2 0:00 -bash 60 61process 1005 is the sshd process listening for new connections. 62process 6917 is the privileged monitor process, 6919 is the user owned 63sshd process and 6921 is the shell process. 64 |
61$Id: README.privsep,v 1.10 2002/06/26 00:43:57 stevesk Exp $ | 65$Id: README.privsep,v 1.11 2003/03/21 01:18:09 mouring Exp $ |