u must be root
then type in

su anyvaliduser

and u will be that user.

Arvind

----- Original Message -----
From: "linux nitwit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 19, 2002 10:48 AM
Subject: [LIH]login single line


| hi list
|
| is there any way that i can login as another user in a
| single command ( as in give the password and username
| in a singe command)
| when i do this
|
| $echo nitwit |su - nitwit
|
| i get error
| standard in must be a tty
|
| and login gives password incorrect
|
| thanks in advance
|
| linux nitwit
|
| __________________________________________________
| Do You Yahoo!?
| Yahoo! - Official partner of 2002 FIFA World Cup
| http://fifaworldcup.yahoo.com
|
| --------------------------------------------------------------------------
--
|                    Bringing you mounds of caffeinated joy
|                    >>>     http://thinkgeek.com/sf    <<<
|
| _______________________________________________
| linux-india-help mailing list
| [EMAIL PROTECTED]
| https://lists.sourceforge.net/lists/listinfo/linux-india-help


----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to