Actually, better to use: su - user
Without the minus sign, you just change your UID / GID. With the minus sign, it's just like logging in as that user, running their login scripts, initiating their user environment variables, etc, which is probably what you want when testing a user config. Ron. --- Warren Post <[EMAIL PROTECTED]> wrote: > As root, enter: > > su user > > to change to account "user" > > Warren > > On Mon, 15 Apr 2002 15:21:07 -0300 (ART) > Lúcio Costa de Almeida <[EMAIL PROTECTED]> wrote: > > > Hello Everybody... > > > > I'm trying to improve my skills in command line. > > What I'd like to do.. > > I'm logged as root and must test some user > > configurations. > > What command I'll use, in shell, to change to this > > user ??? > > root ---> simple user > > > > Ex:[root@Sparta] login user -> [user@Sparta] > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com