Pages tagged with sudo

I'm still in the process of tagging pages that were migrated from the old site, so for now you're best off using the search engine rather than relying on the tags.

  • Sudo notes - Note on sudo. Last matching rule is used When you issue a command via sudo, it will run through /etc/sudoers for all rules that match and then apply the last one that matches. For example, I wanted steph to be able to shut down the computer without ...
  • How to su as another user without requiring a password - You can use sudo with su to login as another user without requiring a password. Add the following to /etc/sudoers: from_user ALL=NOPASSWD: /bin/su - to_user This allows from_user to login as to_user by issuing this command: sudo su - to_user Be...
  • How to login as another using without a password - You have two choices about how to log in as another user at the command prompt, without being prompted for a password. Use sux You could use sux. Add the following to /etc/sudoers: user1 ALL=NOPASSWD: /usr/bin/sux - user2 user1 will now be able t...

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top