aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add references to key2root1.1.7Mattias Andrée2023-06-232-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add comment to keep env whitelist in sync with key2rootMattias Andrée2023-06-231-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typosMattias Andrée2023-06-232-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add reference to editasroot1.1.6Mattias Andrée2022-07-172-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve makefile1.1.5Mattias Andrée2021-09-162-2/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix a buf and a portability issue found by Jonathan Frech1.1.4Mattias Andrée2021-03-241-3/+5
| | | | | | | | | | | | | | 1) Fix read of potententially uninitialised memory when reading hostname This bug could cause the program to enter a loop and eventually die because it cannot allocate memory. 2) Instead of using execvpe(3) (non-standard), set environ and call execvp(3). (This works because asroot does not change PATH.) Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix support for long hostnames1.1.3Mattias Andrée2021-03-221-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Correction: set value of SHELL to pw_shell, rather than pw_dir1.1.2Mattias Andrée2021-03-221-2/+2
| | | | | | Thank you to Jonathan Frech for catching this mistake Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix typo1.1.1Mattias Andrée2021-02-221-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Remove redundant extern declaration of environ1.1Mattias Andrée2021-02-011-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Eliminiate unncessary code if RETRY_SLEEP is nonpositiveMattias Andrée2021-02-011-3/+8
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add customisation instructions to config.mk, rename ERROR_SLEEP to RETRY_SLEEP, and remove sleep instruction if RETRY_SLEEP is nonpositiveMattias Andrée2021-02-012-3/+18
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix exit valueMattias Andrée2021-02-011-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m1.0Mattias Andrée2021-01-311-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add README and m fixes to man pageMattias Andrée2021-01-312-6/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add man pageMattias Andrée2021-01-311-0/+153
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Check passwordMattias Andrée2021-01-312-74/+288
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Set file owner to 0 rather than rootMattias Andrée2021-01-311-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* First commitMattias Andrée2021-01-316-0/+280
Signed-off-by: Mattias Andrée <maandree@kth.se>