-----Original Message----- From: 'Patrick Shanahan' [mailto:paka@opensuse.org] Sent: Thursday, July 30, 2009 12:22 PM To: James D. Parra Subject: Re: [opensuse] limit 'su' to a specific username
The problem I see is that the user can 'sudo' commands as another user, however I am trying to get the user to actually be that other user. I don't see that functionality with sudo. Is there a way to have sudo 'su' to a specific user?
Thanks again,
Why are we off-list? what about: DESCRIPTION The sudoers file is composed of two types of entries: aliases (basically variables) and user specifications (which specify who may run what). When multiple entries match for a user, they are applied in order. Where there are multiple matches, the last match is used (which is not necessarily the most specific match). The sudoers grammar will be described below in Extended Backus-Naur Form (EBNF). Don't despair if you don't know what EBNF is; it is fairly simple, and the definitions below are annotated. do you not understand Sudo give elevated priviledges to specific commands and specific locations to a *named* user. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~` The off-list reply was accidental. Perhaps I am not properly describing what I am trying to accomplish. What I want is to have is userA, userB, & userC, su to userZ, but not be able to su to anything else. All three users need to become userZ, have userZ's name at the prompt, and do all work as that user. Once they exit, they'll back at there original login names. In other words, I don't want the users issuing 'sudo' for every command they need to do as userZ. I hope this is a little clearer. Regards, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org