#!/usr/bin/env python # # Script used for running executables with custom labels, as well as custom uid/gid # Process label is changed by writing to /proc/self/attr/curent # # Script expects user id and group id to exist, and be the same. # # From adduser manual: # """By default, each user in Debian GNU/Linux is given a corresponding group # with the same name. """ # # Usage: root@desk:~# python notroot.py