[PATCH] systemd: disable socket activation for root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2017-02-08 at 12:41 -0500, Joe wrote:
> I'm completely out of my depth here - I program mostly in bash, but ...
> 
> If you want to know if you can do something, one way is to try to do it 
> and see if it fails.
> 
> What would happen if you just issued something harmless like a touch 
> command to something in the path?
> Wouldn't that give you a definitive answer without checking any flags or 
> settings?

How do you propose running the command? Should the command be specified
in ExecStartPre, or did you have something else in mind? And how would
using "touch" be better for figuring out whether we're root than using
"whoami"?

-- 
Tanu

https://www.patreon.com/tanuk


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux