I have Active Directory authentication running on my system but I need to setup so that if root logs in you get prompt but if other users via AD login it executes a script in /etc/profile:
> .sh_history
exec csession cache -U HHM "^ZU"
exit
This way all users can run the application and then exit.But root will goto the prompt #.
I was thinking something like "if UID=>0 exec .....
Any help would be appreciated
> .sh_history
exec csession cache -U HHM "^ZU"
exit
This way all users can run the application and then exit.But root will goto the prompt #.
I was thinking something like "if UID=>0 exec .....
Any help would be appreciated