[TriLUG] OT: sudo runas different user

Cristóbal Palmer cmp at cmpalmer.org
Wed Apr 24 19:03:47 EDT 2013


On Wednesday, April 24, 2013 at 6:55 PM, Peter Neilson wrote:
>  
> If you intend to work without knowing the different user's password, then  
> sudo bash beforehand, and run the su command from the root prompt.


No need for that. Save a step: "sudo su -l someuser"

Cheers!
--  
Cristóbal Palmer
cmpalmer.org






More information about the TriLUG mailing list