Hi, from my login i want to login as a other user ,
Steven D'Aprano
steve at REMOVETHIScyber.com.au
Wed Nov 9 11:12:40 EST 2005
On Wed, 09 Nov 2005 04:01:00 -0800, sumi wrote:
> Hi, i am very new to python , it is just 2 days i started reading abt
> it. I did not understand the above statement. what i want to do is , i
> want to login as a super user eg :
> $su xyz , and then i need to enter the passwd, i want to do these steps
> using python , how can i do it??????????
Type ctrl-d to exit Python, then at the command prompt, type su <enter>,
then type your root password.
Then, as root, type python <enter> at the command prompt.
--
Steven.
More information about the Python-list
mailing list