Commit Graph

  • d2c215f9ab Re-order some code in dd(1) sin 2014-06-11 12:59:51 +0100
  • 0ca8e52bc1 Use select() in dd(1) sin 2014-06-11 12:57:10 +0100
  • c94dfdc99d Update dd usage sin 2014-06-11 11:55:48 +0100
  • c80061b08f Add dd(1) manpage sin 2014-06-11 11:49:44 +0100
  • 3754c402ca Fix dd(1) usage line sin 2014-06-11 11:22:34 +0100
  • 924fc8449b Disable core dumps in case passwd(1) crashes sin 2014-06-10 11:38:45 +0100
  • 5eeef920f0 Add password cipher type in config.def.h - default to SHA-512 sin 2014-06-09 16:46:30 +0100
  • ed5167e2c1 Add passwd.1 to MAN1 sin 2014-06-09 16:42:27 +0100
  • 5980da83e7 Add passwd manpage sin 2014-06-09 16:40:00 +0100
  • 60500e376a Print "incorrect password" when checking empty passwords as well sin 2014-06-09 13:03:19 +0100
  • d745889805 Fix pw_check() semantics and style - it is now similar to pw_copy() sin 2014-06-09 12:58:40 +0100
  • 78192e87d9 Simplify a bit pw_check() sin 2014-06-09 12:53:15 +0100
  • 1b6fab85d6 Fix passwd semantics sin 2014-06-09 12:46:40 +0100
  • 834279b4a9 If root starts passwd don't ask for current password sin 2014-06-09 12:33:15 +0100
  • 4c38dffade If the user password is empty check it against the provided pass as well sin 2014-06-09 12:06:45 +0100
  • 4b05ca07cc Port login(1) to pw_check() sin 2014-06-09 10:59:48 +0100
  • 12083d49e5 Port su(1) to use pw_check() sin 2014-06-09 10:55:41 +0100
  • 77a2f9f92c Add initial pw_check() sin 2014-06-09 10:51:02 +0100
  • 1abf7518ad mount: remove stat, not needed since we use realpath Hiltjo Posthuma 2014-06-07 19:35:35 +0200
  • 01bbe2820a mount: resolve path given Hiltjo Posthuma 2014-06-07 19:21:16 +0200
  • 9716ca2c7a OK we had our fun, now remove the randquotes from su.c sin 2014-06-05 17:38:38 +0100
  • 2ea51e8cd8 Print errors on the next line sin 2014-06-05 17:16:35 +0100
  • f628b72747 Allow the user to change from an empty password sin 2014-06-05 17:12:21 +0100
  • abbb8fffc7 Remember to free the agetline() buffer sin 2014-06-05 16:56:15 +0100
  • 1ec996439a Add initial implementation of passwd(1) sin 2014-06-05 12:48:45 +0100
  • d3709f91a2 the shell field in passwd is optional - fallback to /bin/sh sin 2014-06-05 12:12:18 +0100
  • 5a2f3c85b7 Bring back some C89/C90 elements FRIGN 2014-06-05 11:28:08 +0100
  • 8ab8a4cad0 Staticise copy_splice() sin 2014-06-04 20:50:27 +0100
  • ba3366646a Use %1023s as opposed to %1023c sin 2014-06-04 15:31:25 +0100
  • 8441c95a2f define -D_XOPEN_SOURCE in config.mk sin 2014-06-04 15:11:54 +0100
  • 1b28deba3d Add -D_FILE_OFFSET_BITS=64 to config.mk sin 2014-06-04 15:08:01 +0100
  • e2c6ab9a76 Simplify print_stat() sin 2014-06-04 13:48:22 +0100
  • 9c7d08773f Fallback to pagesize transfers in dd(1) sin 2014-06-04 13:34:13 +0100
  • ee5c4e4521 ubase builds with clang as well sin 2014-06-04 13:31:48 +0100
  • a4e8cf6664 Use the macros from inttypes.h to properly print uint64_t sin 2014-06-04 13:17:57 +0100
  • 4b58a3fcbe Add dd to README and remove from TODO sin 2014-06-04 13:11:16 +0100
  • 6ea2b1aa53 Use estrtoul() in dd(1) sin 2014-06-04 13:07:34 +0100
  • 144a893268 Ensure a proper exit code sin 2014-06-04 13:02:07 +0100
  • 7fa098ace6 Use eprintf() wherever possible, add -h to options sin 2014-06-04 12:59:45 +0100
  • 5c66e30060 Nuke a harmless warning sin 2014-06-04 12:12:18 +0100
  • 207ba019fd Add initial version of dd(1). sin 2014-06-04 11:39:00 +0100
  • d2dfc053c1 Clarify that hwclock(8) uses /dev/rtc as the default devnode sin 2014-06-04 10:56:20 +0100
  • 01fa8eec58 Fix login(1) -p semantincs once and for all sin 2014-06-03 18:56:46 +0100
  • d522589a11 Clarify in login.1 that TERM is set as well sin 2014-06-03 18:23:03 +0100
  • 916b7fed1e Set TERM to linux if needed for su and login sin 2014-06-03 18:19:31 +0100
  • 8216a97519 Print a warning for -w to let the user know that we are assuming UTC sin 2014-06-03 16:24:53 +0100
  • 0d09df4645 Add hwclock(8) manpage sin 2014-06-03 16:20:57 +0100
  • 5bbc67aa96 Allow to specify the rtc devnode for hwclock(8) sin 2014-06-03 16:04:53 +0100
  • 5836145a5c Implement -s support for hwclock(8) sin 2014-06-03 15:52:45 +0100
  • cd0c6cf5b8 Add hwclock in README sin 2014-06-03 15:41:59 +0100
  • 5dd629fd42 Remove -pedantic from default config.mk sin 2014-06-03 15:33:29 +0100
  • e3d7ffa05c Use rtc_time sin 2014-06-03 15:04:53 +0100
  • dacfb76c75 Add initial version of hwclock(8) sin 2014-06-03 14:46:27 +0100
  • c4051021c9 Add hwclock to TODO sin 2014-06-03 12:45:29 +0100
  • df6f793d57 Remove login from TODO sin 2014-06-03 12:38:38 +0100
  • 0daa5a8206 Update TODO sin 2014-06-03 12:38:01 +0100
  • 604b5de69d Use -std=c99 and -pedantic in default config.mk sin 2014-06-03 12:34:52 +0100
  • da215823a3 Inform the user if exec*() fails sin 2014-06-03 12:29:16 +0100
  • 323f6be8ef Use correction function name in error message sin 2014-06-03 12:27:38 +0100
  • b8dbf05ce7 Simplify dologin() in su(1) sin 2014-06-03 12:24:17 +0100
  • 2f10d16b9f Remove explicit_bzero() calls sin 2014-06-03 12:13:48 +0100
  • bd4b6f4e47 Add /etc/passwd support to su(1) sin 2014-06-03 12:09:25 +0100
  • e5d539a76f Remove BUGS section from login.1 - we now have shadow support sin 2014-06-03 11:03:42 +0100
  • 0de4f5fd9f I am stupid. sin 2014-06-03 11:03:25 +0100
  • bc709278b6 Add shadow support to login(1) sin 2014-06-03 10:55:12 +0100
  • c4c1feac2a Check if stdin is a tty sin 2014-06-03 10:45:27 +0100
  • b6007ba92b Be consistent with login(1) usage sin 2014-06-02 17:33:17 +0100
  • c7b6aacb5c /bin is good enough sin 2014-06-02 17:14:29 +0100
  • 3046b513fc use lowercase for errors sin 2014-06-02 17:14:53 +0100
  • af65094dbe Simplify login FRIGN 2014-06-02 18:04:12 +0200
  • aaea1e9ff7 Print getpass() errors on a newline sin 2014-06-02 17:02:01 +0100
  • 9146cebd97 Add login(1) to README sin 2014-06-02 16:49:56 +0100
  • d068541779 Not all password entries start with '$' sin 2014-06-02 16:50:22 +0100
  • 1988901b7d Add login(1) manpage sin 2014-06-02 16:41:07 +0100
  • 6f7995b65a Consistent error reporting sin 2014-06-02 16:15:03 +0100
  • e992efc8fb Remember to #define _XOPEN_SOURCE for crypt() sin 2014-06-02 14:55:21 +0100
  • 0a3ed68d25 Add initial implementation of login(1) sin 2014-06-02 14:00:55 +0100
  • 5322e83da0 str* is in the reserved namespace, rename to replacestr() sin 2014-05-06 13:36:49 +0100
  • fffdb91ada First release of ubase! sin 2014-05-01 12:00:17 +0100
  • b6e4a367e2 su: zero out encrypted passwords Jakob Kramer 2014-04-30 14:15:26 +0200
  • 5b9ea69b08 Sweep through code and replace malloc() with emalloc() etc. sin 2014-04-30 13:08:16 +0100
  • 550b655d98 Add ealloc.c with wrappers for emalloc() and friends sin 2014-04-30 13:01:56 +0100
  • 49f1dc0ebe Add LICENSE header in explicit_bzero.c sin 2014-04-30 12:28:38 +0100
  • 24d5c07d29 Use explicit_bzero() in su sin 2014-04-30 12:26:27 +0100
  • 1920516abf Add explicit_bzero() in util/ sin 2014-04-30 12:25:29 +0100
  • 8f4c0f2a8e Add random replies for failed password attempts in su(1) sin 2014-04-22 16:35:24 +0100
  • 0e6d7ca286 Implement fifo listener mode for respawn sin 2014-04-21 11:48:09 +0100
  • 053e63968d keep usage definition above main in ubase dwts 2014-04-22 16:59:08 +0300
  • 996c2d42a3 Remove -Os from config.mk sin 2014-04-21 11:43:22 +0100
  • 505bb70e89 Fix char **argv to char *argv[] sin 2014-04-18 11:49:10 +0100
  • 36d6216455 Style fix for respawn sin 2014-04-18 11:34:02 +0100
  • ba764589ba For consistency with other similar constructs in ubase sin 2014-04-18 09:39:19 +0100
  • 8d92201170 variable cannot be NULL so don't test for that sin 2014-04-18 09:30:48 +0100
  • 2618410910 Use streplace() in setsysctl() as well sin 2014-04-17 19:05:25 +0100
  • 87cb818ac0 No need for a temporary variable in streplace() sin 2014-04-17 17:15:36 +0100
  • edc39cef27 If at least one entry fails, return EXIT_FAILURE in sysctl sin 2014-04-17 17:05:14 +0100
  • 3985929b6d Error out if there are multiple separators in sysctl sin 2014-04-17 17:01:57 +0100
  • 0897d999e6 Implement streplace() sin 2014-04-17 16:38:31 +0100
  • 6ba9fe35f1 Remember to convert '/' back to '.' in sysctl before returning sin 2014-04-17 16:29:52 +0100
  • e4fa3f5c59 Don't leak `buf' if realloc fails sin 2014-04-17 16:22:58 +0100