I want a good syntax for allowing one group of users to be able to access a list of functional accounts using sudo. I wrote something like
User_Alias ADMIN = a, b, c
ADMIN ALL = (ALL) /bin/su - functional1, /bin/su - functional2, ...
I want something more elegant with '-' after su to be optional
/bin/su [ -] user (notice a space)
OR
/bin/su ? user
doesn't work. In the first one I tried to give an option between a space and -. In the second, I tried to use any character, hoping it would allow either a space or a hyphen. May be I am thinking too much like regular expressions.