You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Limiting the use of the 'su' command to specific groups related to 'su'.

in Linux 1 comment

I intend to create a 'wheel' group and modify permissions for groups related to 'su' command usage so that only those groups can utilize the 'su' command. Additionally, I plan to add accounts that require 'su' command usage.

The following are the steps outlined for the above method:

1) Create the 'wheel' group : #groupadd wheel

2) Change the group for the 'su' command. : #chgrp wheel/usr/bin/

3) Modify permissions for 'su' command usage. : #chmod 4750/usr/bin/su

4) Register accounts allowed to use the 'su' command in the 'wheel' group.: wheel:x10: -> wheel:x:10:root, admin

Would there be any implications for OPC usage or OCI server aspects if the changes are made as mentioned above?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!