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

Re: sudo and shell prompt.



> 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.
>
> Any advice?

My advice? Don't sudo a shell! Sudo is a great tool allowing you to
granularly specify who is allowed to run what as root. If you want to give
somebody full control of root... Well, give them the full root password,
use su!

------------------------------------------------------------
Gunnar Wolf - gwolf@campus.iztacala.unam.mx - (+52)5623-1118
Desarrollo y Admon. de Sistemas en Red - FES Iztacala - UNAM
Departamento de Seguridad en Computo   -   DGSCA    -   UNAM
------------------------------------------------------------
Quidquid latine dictum sit, altum viditur.