[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sudo and shell prompt.



On Sat, 15 Sep 2001, Tim Jones wrote:

> I've found it helpful to set my shell prompt to be the
> current directory.  Getting this to work when logging
> in as root (or any user) directly is easy; however, I
> cant figure out a way to make this happen whenever I
> sudo a shell (bash in my case) as a standard user.

sudo su -l

-- 
Jesse Trucks
jesse@cyberius.net
Cyberius' Network
http://www.cyberius.net/