Tuesday, April 03, 2018

How to disable privilege separation mode in SSHD? - for testing

Hello,

What is the method to do a "UsePrivilegeSeaparation=no" on source code level?

Is it the following?:

sed -i 's/^int use_privsep = -1;$/int use_privsep = 0;/g' /home/user/src/usr.bin/ssh/sshd.c

or am I wrong?

only for testing purposes! cannot check childs.

Many thanks.

No comments:

Post a Comment