I can do an
su <username> and it asks for my password. Is there a password parameter for
su such that i wont be prompted for a password?
su <username> -p <password>
I belive, there is not and it would not be a good idea. Here's why:
If you need to run commands with
If you want to execute some specific commands as a new user, use the following command: