mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
parent
090c2b04a6
commit
76ec591e91
@ -393,8 +393,7 @@ static void jail(void)
|
||||
tmate_fatal("Cannot setuid()");
|
||||
#endif
|
||||
|
||||
if (nice(1) < 0)
|
||||
tmate_fatal("Cannot nice()");
|
||||
nice(1);
|
||||
|
||||
tmate_info("Dropped priviledges to %s (%d,%d), jailed in %s",
|
||||
TMATE_JAIL_USER, uid, gid, TMATE_WORKDIR "/jail");
|
||||
|
Loading…
x
Reference in New Issue
Block a user