Hey all, I'm glad to have found this forum as I'm trying to dive head first into Solaris 8 - been working with it for a few months now and am finally getting a bit comfortable with the layout and concepts. In any case, on to the questions...
I was wondering how I would go about displaying the
Effective Username (for example if I login as user1 initially, then su to root, now my Effective Username is root) in the prompt on the system.
Currently $PS1 is set to: '[$LOGNAME : $PWD]$' and I'd like to replace $LOGNAME with their Effective Username so that when one su's to another username you don't forget whether you're still root, etc.
Thanks for your input!