[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The simplest way to become someone else is to say
become user |
Become will check to see whether you're allowed to become user. If you are, it starts a shell process with the user-id set to user. Any commands you type are executed with the privileges of user.
The full invocation is slightly more complicated:
become [option…] [env-var…] user [command [arg…]] |
Actually, the options, env-vars and user can be in any order - the important point is that all of them appear before the command, if there is one.
1.1 Terminology | Some important terms defined | |
1.2 How Become sets up the environment | Login styles and environment variables | |
1.3 How Become handles groups | How Become handles group permissions | |
1.4 Considerations for X authority | Problems with X authority files | |
1.5 Executing specific commands | Running commands other than a shell |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by Mark Wooding on March, 14 2006 using texi2html 1.76.