Listmates,

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 have a very secure pw that is a bear to type 50 times a day.

alias su='su; <password>' or
alias su='su root <password>' or
alias su='su root; <password>'

Don't work. It almost looks like it would take a separate script to handle the "Password: " chat that su returns. Does anyone have a solution for this?



P.S. http://www.novell.com/coolsolutions/tools/17142.html has a number of good .bashrc examples.

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to