Score:0

How to handle running commands of a user that doesn't have sudo permissions, but might need it sometimes

cn flag

OK I'm new to ubuntu. Consider there's a user named launcher which is supposed to run some apps, but doesn't have sudo privileges for security. But, it might need sometimes run some commands with sudo. How can it be done?

P.S: Commands are supposed to run by .sh files. So it's not interactive. Thanks.

james hofer avatar
cn flag
Yes it is. Thanks.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.