![]() In Ubuntu, sh is usually symlinked to /bin/dash, meaning that if you execute a command with sh -c the dash shell will be used to execute the command instead of bash. If we want to permit a normal user to execute some commands that. This resets most environment variables and is the cleanest and most secure method for switching to the root user. sh calls the program sh as interpreter and the -c flag means execute the following command as interpreted by this program. Sudo command allows us to run a command as another user does.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |