Python & Linux, some questions
Nai Namae
shimbun at gmx.de
Sun Mar 14 18:48:14 EST 2004
a magic combination of both would be the command:
sudo su -
:)
make a shell "script" out of it:
#!/bin/bash
sudo su -
call it "root", make it executable to everyone, put it in /usr/local/bin or
any other path in $PATH, add all users on your system to /etc/sudoers...
and just run your new "root" command and enjoy.. ok, of course you should
not do so!
by using "root" you can now have a root shell withouth having to type a
password every time :/
Luca T. wrote:
> Mathias Waack wrote:
>
>> Please read su(1) until you find the answer. Or use the right group;)
>
> Damn, you are right, thanx... now i wonder why sudo exists though... oh
> well.
>
> Bye,
> Luca
More information about the Python-list
mailing list