diff options
author | mouring <mouring> | 2002-03-22 03:11:49 +0000 |
---|---|---|
committer | mouring <mouring> | 2002-03-22 03:11:49 +0000 |
commit | 35c4587c7184463bccf1f4448e16da2465926d5e (patch) | |
tree | 00ddec03b571904d6ad4a346dcd11e53b20f0a9f /ssh.h | |
parent | 3dd92be01452493abb0b3005e535fb94fbb41d94 (diff) | |
download | openssh-35c4587c7184463bccf1f4448e16da2465926d5e.tar.gz |
- stevesk@cvs.openbsd.org 2002/03/20 19:12:25
[servconf.c servconf.h ssh.h sshd.c]
for unprivileged user, group do:
pw=getpwnam(SSH_PRIVSEP_USER); do_setusercontext(pw). ok provos@
Diffstat (limited to 'ssh.h')
-rw-r--r-- | ssh.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.h,v 1.64 2002/03/04 17:27:39 stevesk Exp $ */ +/* $OpenBSD: ssh.h,v 1.65 2002/03/20 19:12:25 stevesk Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -99,4 +99,11 @@ /* Used to identify ``EscapeChar none'' */ #define SSH_ESCAPECHAR_NONE -2 +/* + * unprivileged user when UsePrivilegeSeparation=yes; + * sshd will change its pivileges to this user and its + * primary group. + */ +#define SSH_PRIVSEP_USER "nobody" + #endif /* SSH_H */ |