linedancer888
MIS
I'm having trouble with the PS1 variable and root. If I su - root, there is no problem, but if I su root I only get the prompt, no hostname:directory.
I have the variable set as follows:
export PS1="`hostname`:"'$PWD >'
and it's set in /.profile , /etc/skel/local.profile, /etc/profile, and the users .profile
# echo $PS1
#
When I su root, and export PS1 from the command line, it's fine, root is using ksh.
Thanks
I have the variable set as follows:
export PS1="`hostname`:"'$PWD >'
and it's set in /.profile , /etc/skel/local.profile, /etc/profile, and the users .profile
# echo $PS1
#
When I su root, and export PS1 from the command line, it's fine, root is using ksh.
Thanks