Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | (mis)using RBAC... |
|---|---|
| Date: | Tue, 12 Apr 2005 14:19:51 -0500 |
All, I was recently charged with setting up RBAC so that the group I work with will 'su to root' less often. The first project I've picked is to either establish a role and/or profile that will allow a normal user to start and stop our webservers. Here is what I came up with, bypassing the concept of a 'role'... 1) I created a profile called "Web Administration" in /etc/security/prof_attr Web Administration:::Role for restarting webservers:: 2) I gave the profile the ability to run the start and stop webserver scripts as root: in /etc/security/exec_attr Web Administration:suser:cmd:::/opt/app/iplanet/https-myserver/start:uid=0 Web Administration:suser:cmd:::/opt/app/iplanet/https-myserver/stop:uid=0 3) I then added the role to my account on the server in /etc/user_attr: jkatz::::type=normal;profiles=Web Administration,Basic Solaris User 4) Finally, I changed my shell to /bin/pfcsh. Now, with my regular user account I can start and restart our webservers. My questions are, is this a normal practice (are there other people doing it) and is it supported? What unintended consequences am I missing? I understand that if a user's account is compromised, the webserver services can be stopped and started at-will. I also understand that our sysadmin group will be restricted to using pfcsh/pfksh/pfsh and cannot use bash or tcsh (although we can still leave those set, type 'exec pfsh' and then do what we need to do as the Profile.) Thanks! -- -Jon Jonathan Katz -- J. Random BOFH
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SunScreen and Broadcasts, dpk |
|---|---|
| Next by Date: | RE: (mis)using RBAC..., Robert Archer |
| Previous by Thread: | SunScreen and Broadcasts, Crist J. Clark |
| Next by Thread: | Re: (mis)using RBAC..., benjamin brumaire |
| Indexes: | [Date] [Thread] [Top] [All Lists] |