[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

1. Becoming someone else

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.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Mark Wooding on March, 14 2006 using texi2html 1.76.