|
Bugzilla – Full Text Bug Listing |
| Summary: | aix limits are not reset | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Ken Foskey <ken.foskey> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | lool, peter.oliver, sehnis |
| Priority: | normal | ||
| Version: | 1.6.6 | ||
| Hardware: | IBM | ||
| OS: | AIX | ||
| Attachments: | Read /etc/environment | ||
|
Description
Ken Foskey
2002-06-06 21:30:05 MDT
I really have no idea how AIX does per-user resource limits or what library functions exist to set them. I don't have access to any AIX machines at the moment. If you were able to give me a login on one I could poke around and see if I can solve this. We worked around this problem in another way. I don't have a machine that you can access at present so if you may want to close this issue as wont fix. *** Bug 174 has been marked as a duplicate of this bug. *** *** Bug 177 has been marked as a duplicate of this bug. *** Created attachment 217 [details]
Read /etc/environment
The attached patch causes sudo to read /etc/environment when it is called with the -i option. It uses code taken from OpenSSH. You can test this on Linux, since that has an /etc/environment file too.
Thanks, I've committed similar code to the sudo cvs tree. I need to do a little research and determine whether I want to read /etc/environment on operating systems other than AIX and Linux. This has been addressed in the sudo 1.7 code base. The current beta version of sudo, 1.7b3 has support for /etc/environment as well as user rlimits. See http://www.sudo.ws/sudo/dist/beta/ |