root shell
Derek Broughton
news at pointerstop.ca
Fri Oct 5 12:44:35 UTC 2007
pol wrote:
> Thibaut wrote:
>> you can access your root shell by typing
>> sudo su -
>
> Thank you for that info. I have changed my shell configuration, addins
> aliases. That works, as i a root, but aliases are not read, when entering
> commands through sudo: E. the following alias is set in root's .zshenv
> file, to get a customized file list:
>
> alias l="/usr/bin/limo -w1 -o-m -fUNsm"
>
> It works, as i am root (that is i have accessed through 'sudo su -'), yet,
> as i enter (as norml user) the command 'sudo l' i get
>
> sudo: l: command not found
>
Try: sudo -i
which is the "correct" way to get a root shell.
--
derek
More information about the ubuntu-users
mailing list