[issue1093] grml-x: reexec as user if run as root

Brad Cable bts at bts.grml.org
Tue Jan 17 01:19:56 CET 2012


Brad Cable <brad at bcable.net> added the comment:

To restrict sudo to only a few commands (I hate sudo), I have always been 
patching this file up to run as root instead of as the user.  Here, everything 
is hard coded to my user (brad) and my home directory (/home/brad), but it runs 
startx as my user after setting everything up as the root user.

Just an example of how this might work.  I've been using this style for years.

----------
files: my-grml-x
messages: 4109, 4231, 4263, 4279
nosy: ch
priority: feature
status: need-eg
title: grml-x: reexec as user if run as root
topic: grml-x

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1093>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my-grml-x
Type: application/octet-stream
Size: 8709 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20120117/a450bc78/attachment-0001.obj>


More information about the Bugs-changes mailing list