Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-27 | (my_uid): Use `!', not `^' in case pattern `[!0-9]', | Jim Meyering | |
since /bin/sh of at least NetBSD 1.6 and OpenBSD 3.2 don't accept `^'. | |||
2003-07-19 | Use `id -u' to see if we're running as root, | Jim Meyering | |
rather than trying go write to an write-protected file. When running as root, ensure $NON_ROOT_USERNAME is valid. When running as root with `require-non-root', ensure that `.' is writable by $NON_ROOT_USERNAME, then reinvoke $0 set-user-ID to $NON_ROOT_USERNAME. If `.' is not writable, then skip the test. | |||
2003-07-16 | Move setuidgid-related and | Jim Meyering | |
NON_ROOT_USERNAME-checking code to this file. | |||
2001-09-02 | Change usage not to use $1. | Jim Meyering | |
That's not portable to e.g., Solaris2.6's /bin/sh. Communicate via an envvar instead. | |||
2001-08-06 | finally make it work | Jim Meyering | |
2001-08-05 | rename variables | Jim Meyering | |
2001-08-05 | Renamed from root-only. | Jim Meyering | |