|
Bugzilla – Full Text Bug Listing |
| Summary: | no passwd request if run sudo via script | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | lkm380z <lkm380z> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | security | CC: | lkm380z |
| Priority: | normal | ||
| Version: | 1.6.6 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
lkm380z
2003-10-19 18:02:49 MDT
sorry! #!/bin/sh sudo -u root /sbin/shutdown -h now sorry for the wrong typing... hi! i shutdown the pc... restart the pc... now sudo do ask my passwd as what it should, i think it might be some "memory cache"? sorry... false alarm... Sudo keeps a timestamp of the last time you authenticated and doesn't prompt for a password if you've successfully authenticated within the last N minutes where N is 5 by default. This is configurable via the timestamp_timeout Defaults option in sudoers. See the sudoers man page for details. |