AIX su -

bkreynolds48
bkreynolds48 used Ask the Experts™
on
On AIX unix how do I find out if I have switch user privs?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
In English we would say "suck it and see" - just try it. The "su" command is executable by any user as standard but only root can switch to another user without a password. However it is regarded as bad practice to use "su" because it is then impossible to tell which user is actually performing the commands in the shell that "su" creates - better to use "sudo", which allows traceability.
1) Use su   (try: man su). Unless you have root permission you will need the target user's password.
2) Use sudo (try: man sudo). Just a matter of trying (if you don't already know). .You'll need to type in your own password. The admin can check the /etc/sudoers file, which it unfortuinately not readable for ordinary users.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial