From c7431341911e911993776c357ca57d1fb7ed1b23 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Fri, 22 Mar 2002 03:11:49 +0000 Subject: - 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@ --- ssh.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ssh.h') diff --git a/ssh.h b/ssh.h index fdf554df..078c9f7c 100644 --- a/ssh.h +++ b/ssh.h @@ -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 @@ -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 */ -- cgit v1.2.1