gumball60
asked on
Changing Identity(su command)
I am a new Solaris administrator. When you "su" to another person ex: (su - James). What should I use the root password or my user password to assume a users identity. Neither have been working for me.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
to be more exact:
su - ID # is identical to a login (see man su)
su - ID # is identical to a login (see man su)
Running "su - <ID>" will change to that user but also run that user's .profile/.cshrc or whatever. The - symbol makes this happen.
Just running "su <ID>" changes to that user but does not run that user's .profile/.cshrc or whatever.