suauth(5) File Formats and Configuration suauth(5) suauth - su /etc/suauth The file /etc/suauth is referenced whenever the su command is called. It can change the behaviour of the su command, based upon: 1) su 2) , su ( - , ) . , #, . ; -:-: Where to-id is either the word ALL, a list of usernames delimited by "," or the words ALL EXCEPT followed by a list of usernames delimited by ",". from-id is formatted the same as to-id except the extra word GROUP is recognized. ALL EXCEPT GROUP is perfectly valid too. Following GROUP appears one or more group names, delimited by ",". It is not sufficient to have primary group id of the relevant group, an entry in /etc/group(5) is necessary. . DENY su , . NOPASS su ; . OWNPASS su . . , , . . , . . . # /etc/suauth # # # su root . # root:chris,birddog:OWNPASS # # su root, # wheel. BSD. # root:ALL EXCEPT GROUP wheel:DENY # # , terry birddog # . # # . # terry:birddog:NOPASS birddog:terry:NOPASS # /etc/suauth . , , ( ) . An error parsing the file is reported using syslogd(8) as level ERR on facility AUTH. . su(1). shadow-utils 4.15.1 01/04/2024 suauth(5)