Hello,
On a Solaris 8 and 10 systems in a Bourne shell script I need to set the current user to a variable. My problem is I cannot use an environment variable like LOGNAME or USER.
I think maybe I could use id command if I can just extract the username and set it to a variable.
What can you suggest?
Thanks,
Michael42
On a Solaris 8 and 10 systems in a Bourne shell script I need to set the current user to a variable. My problem is I cannot use an environment variable like LOGNAME or USER.
I think maybe I could use id command if I can just extract the username and set it to a variable.
What can you suggest?
Thanks,
Michael42