Hacker News new | ask | show | jobs
by digi_owl 2995 days ago
My first thought was to use the sh -c method.
1 comments

Or, just use 'su' to become root, then write to the device file.
su isn't an option that's available to "regular" users. In particular in an environment where sudo has been set up correctly then it may be for the reason that you want regular users to be able to perform "some" powerful functions without giving them the keys to the system.