Where sudo has been configured with the -with-logincap option. This option is only available on systems with BSD login classes If the class argument specifies an existing userĬlass, the command must be run as root, or the sudo command must be Restricted by the default login capabilities for the user theĬommand is run as. Specifying a class of -indicates that the command should be run The class argument can be either aĬlass name as defined in /etc/nf, or a single '-' character. c Class, run the specified command with resources limited by Note that if you use the -b option you cannot use shell b Background, run the given command in the background. This option is only available on systems that support BSDĪuthentication where sudo has been configured with the Methods by adding an "auth-sudo" entry in /etc/nf. The systemĪdministrator can specify a list of sudo-specific authentication Validating the user, as allowed by /etc/nf. a Authentication type, use the specified authentication type when List of the defaults sudo was compiled with as well as the machine's If the invoking user is already root the -V option will print out a V Version, print the version number and exit. S stdin, read the password from the standard input instead of the terminal. The real andĮffective group IDs, however, are still set to match the target user. Vector to the list of groups the target user is in. By default, sudo will initialize the group P Preserve group vector, causes sudo to preserve the invoking user's Line along with a short description for each. L list defaults, list out the parameters that can be set in a Defaults Like -k, this option does not require a password. K (sure kill) like kill (-k) except that it removes the user's timestampĮntirely. Not modify HOME (see set_home and always_set_home in sudoers(5)). (root by default) as specified in passwd(5). H Set the HOME environment variable to the homedir of the target user Sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. Sudo, sudoedit - execute a command as another user
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |