[sudo-users] Allow the dir creation to one level only
Moisés Barba Pérez
mbarperoi at gmail.com
Wed Apr 13 03:27:44 EDT 2011
Hi:
I would like to create a rule in sudoers file to allow an user the mkdir
comand. I'm looking for the way to limit the dir creation to one level, for
example:
1. The user can create a dir in /data: sudo mkdir /data/user
2. The user *can't* create a subdir un /data: sudo mkdir /data/user/mydir (I
want to avoid this)
I have been playing with the wildcards in the manual but I can make a
rule for this funcionality.
Regards,
Moisés.
More information about the sudo-users
mailing list