[linux] disallow user turn to root using 'su -'

숭글·2022년 7월 23일
0

기타

목록 보기
12/14

first you need to find where su is.
you can see the path with using below.

which su

if you want to allow that only user included in root group turn to root,
you need to change access mode using 'chmod'

chmod 4750 <location of su>

now only root group can turn to root.

profile
Hi!😁 I'm Soongle. Welcome to my Velog!!!

0개의 댓글