|
Bugzilla – Full Text Bug Listing |
| Summary: | group-wise permission not updated w/ change in group membership | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | huffcr |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | security | ||
| Priority: | normal | ||
| Version: | 1.6.3 | ||
| Hardware: | Sun | ||
| OS: | Solaris 2.x | ||
|
Description
huffcr
2002-03-15 09:55:15 MST
That doesn't make any sense. There must be another entry in sudoers granting the user privileges as well. You can run 'sudo -l' as that user to see what sudo will let them run. This may help finding what sudoers entry is allowing the user to run commands. Removing someone from the group file doesn't change the fact that users currently logged in will still have that gid in their group vector. However, sudo doesn't directly look at the user's group vector. Instead, it relies on the getgrnam() library function which accesses the group database. Note, however, that if the group file is accessed via NIS or NIS+ that changes may not take effect immediately. Also, nscd, the name service cache daemom, may also add some latency to /etc/group changes. |