On Wed, 16 Jan 2008 22:19:57 -0600, David C. Rankin wrote:

>       Someone more clever than I must surely have solved this. How can I set 
>through .bashrc or some other more secure way, the ability to alias "su" 
>with its password so I don't have to type my root password every time I 
>su.

I use ssh on localhost for such purposes. Just add your ssh key to
root's .ssh/authorized_keys and then use 'ssh [EMAIL PROTECTED]' to either
get a root shell or run commands (which may require X11 forwarding set
for ssh).

Philipp
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to