root shell

pol linux_milano at yahoo.it
Fri Oct 5 10:39:18 UTC 2007


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


Any hints?

Thank you 

--
Pol





More information about the ubuntu-users mailing list