Hi, a simple question. Could not recall the command...
If I want to execute a command as another user, what is the way to do it?
For eg. I would like to execute command "ls" as user ABC, I would do the following:
su - ABC
(put in the password, etc)
(at ABC user prompt)
ls
I know there is a short way to do it, but could not recall.
Pls help.
Thanks.
If I want to execute a command as another user, what is the way to do it?
For eg. I would like to execute command "ls" as user ABC, I would do the following:
su - ABC
(put in the password, etc)
(at ABC user prompt)
ls
I know there is a short way to do it, but could not recall.
Pls help.
Thanks.