Establishing a customer without a password
I would certainly such as to have the ability to
su to an additional customer to run a manuscript with lowered approvals. However I need to type the password in every single time, exists a means to create a customer without requiring the password motivate?
Add the complying with to your
sudoers documents (by running
%you ALL= (restricted) NOPASSWD: ALL
you is your username and also
restricted is your lowered advantage customer.
You can after that run commands as
restricted without providing a password:
sudo -u restricted whoami
You can additionally restrict what commands can be implemented using sudo by changing the
ALL at the end of the line with the command line you intend to permit. See
man sudoers for additional information.