Hi,
i've been told to never change root's shell directory because in case of failure i will not be able to boot in single user mode.
So i want to use ksh for user root. I want that, when i log in as root, i can run a script that sets me ksh and some aliases.
I create a .profile and put inside following commands:
ksh
set -o vi
alias ll='ls -lart'
but i'm having erros. So every time i enter as root i issue
these commands manually. Can you help me create a scripts that i can run when i login and sets for me ksh and env variables?
Thanks
i've been told to never change root's shell directory because in case of failure i will not be able to boot in single user mode.
So i want to use ksh for user root. I want that, when i log in as root, i can run a script that sets me ksh and some aliases.
I create a .profile and put inside following commands:
ksh
set -o vi
alias ll='ls -lart'
but i'm having erros. So every time i enter as root i issue
these commands manually. Can you help me create a scripts that i can run when i login and sets for me ksh and env variables?
Thanks