summaryrefslogtreecommitdiff
path: root/ssh.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-03-22 03:11:49 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-03-22 03:11:49 +0000
commitc7431341911e911993776c357ca57d1fb7ed1b23 (patch)
tree3e7fec3c3985b8f7584b4a03ce7df035d361c442 /ssh.h
parentf34e4eb6c730fa38640aeef5f6801035caaba460 (diff)
- 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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ssh.h b/ssh.h
index fdf554df0..078c9f7c7 100644
--- a/ssh.h
+++ b/ssh.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.h,v 1.64 2002/03/04 17:27:39 stevesk Exp $ */ 1/* $OpenBSD: ssh.h,v 1.65 2002/03/20 19:12:25 stevesk Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -99,4 +99,11 @@
99/* Used to identify ``EscapeChar none'' */ 99/* Used to identify ``EscapeChar none'' */
100#define SSH_ESCAPECHAR_NONE -2 100#define SSH_ESCAPECHAR_NONE -2
101 101
102/*
103 * unprivileged user when UsePrivilegeSeparation=yes;
104 * sshd will change its pivileges to this user and its
105 * primary group.
106 */
107#define SSH_PRIVSEP_USER "nobody"
108
102#endif /* SSH_H */ 109#endif /* SSH_H */