aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>