| Anonymous | Login | Signup for a new account | 11-10-2008 10:51 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000505 | [BusyBox] New Features | feature | N/A | 10-26-05 19:47 | 11-26-06 11:42 | ||||
| Reporter | akvadrako | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | won't fix | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0000505: Add support for one applet being setuid for only some users | ||||||||
| Description |
Hello. I have a minimal system that does allow logins. Some of the users should be able to run route and change the default gateway, but other users should be able to run route and only display the current routes. Another example is mount. Anyone should be able to run mount to as an alternative to "cat /proc/mounts". This is currently not possible with busybox's setuid support and I have resorted to installing sudo. I propose changing the SUID configuration support to be more like sudo, where some users (or groups) are granted superuser rights and others are not on the same applet. I envision this to be an extension to the SUID section like: joe = (root)mount,route (httpd,ftp)kill %wheel = (ALL)vi This sample config would allow joe to run mount and route as root and kill at httpd or ftp. Members of the group wheel could run vi as any user. This is very close to sudo syntax, but without the host specifier. The user defaults to root if not given. In addition the command specification could include arguments, like: "%wheel = killall sshd" There is the one issue of who will joe run as if he uses kill. Ideally these commands would be run with the privileges of all the users specified at once, but that isn't possible under linux. So instead by default joe would run mount as root, and kill as himself. But by running busybox with the -u option, he could be a non-default user. Or there could be an environmental change, say, BBRUNAS. Or there could just be a separate sudo applet that behaves much like it's full-fledged counterpart, but that isn't as ideal because I find in day to day use, I always forget to type sudo before a command. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |