Tag Info

Hot answers tagged

4

When a user invokes sudo -l it lists what sudo will allow them to do, so you could have a script ran as root that bumps through /etc/passwd and sudo's to each user, invoke the sudo -l, directing the output to /tmp/${USER}_sudo_i_can_do.txt But if you don't have root access, you won't be able to do what you want to do; the list of permissions is readable ...


1

If you have Vixie cron installed, you can add a @reboot entry in your crontab file: Instead of the first five fields, one of eight special strings may appear: string meaning ------ ------- @reboot Run once, at startup. There you can take some action (i.e. writing some unique file) that you can check for ...


1

You can use - if you can get the initial right to do so granted to you - the linux kernel's User namespaces. In a user namespace a user can be apportioned a piece of a disk and run a full-fledged container within as a super-user without otherwise affecting the parent environment. You will need a 3.8 or later kernel, some linux-savvy, and the initial setup ...



Only top voted, non community-wiki answers of a minimum length are eligible