Commit Graph

563 Commits

Author SHA1 Message Date
sin
0c008b65ee Bring in the sbase Makefile updates to ubase 2014-11-30 12:18:54 +00:00
sin
ae7aafc127 Rename util/ to libutil/ 2014-11-29 21:46:47 +00:00
sin
d81c43ee3f Remove tools from README 2014-11-29 21:46:42 +00:00
sin
d2a7d5aeca Don't initialize unneeded variables in swaplabel(8) 2014-11-29 21:32:53 +00:00
Jan Tatje
aed9e3f6fa Add swaplabel(8) 2014-11-29 21:22:56 +00:00
sin
fd6f44d7bf No bool 2014-11-24 11:30:08 +00:00
sin
154381a0c7 Sync up util/*.c from sbase 2014-11-17 16:04:35 +00:00
sin
6e3c035db8 Properly signal failure if command fails in ubase-box
Similar fix as the one provided by emg for sbase.
2014-11-10 23:40:00 +00:00
sin
8ddf33f492 Update TODO style 2014-11-07 20:40:09 +00:00
sin
3dedd9bf8c Add last(1) manpage to TODO 2014-11-07 11:41:30 +00:00
sin
0427a16144 Remove hwclock from TODO 2014-11-01 15:59:44 +00:00
sin
cea440bd2d df -hk should disable -h and df -kh should disable -k 2014-10-18 18:22:55 +01:00
Jeffrey Picard
dc3a9d9e2a Implement df -hk 2014-10-18 18:17:40 +01:00
sin
7e2fe55d68 Remember to include libgen.h for basename(3) 2014-10-17 16:08:31 +01:00
sin
09bfb1d065 Update list of tools in README 2014-10-16 12:36:03 +01:00
sin
faf12794db We cannot use eprintf() without first initializing argv0 2014-10-16 11:40:57 +01:00
sin
04a30829a2 Remove last from TODO 2014-10-16 11:31:00 +01:00
Roberto E. Vargas Caballero
82500097cf Update only the modified objects in util.a 2014-10-16 11:29:38 +01:00
Roberto E. Vargas Caballero
2f03742e05 Add last and lastb 2014-10-16 11:28:01 +01:00
sin
249b5b5c0a Update TODO 2014-10-16 11:20:28 +01:00
sin
deb4fa8044 Nuke last EXIT_SUCCESS 2014-10-02 23:50:19 +01:00
sin
6f7f387352 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:47:39 +01:00
sin
d4416d984b Update TODO 2014-09-28 18:36:05 +01:00
sin
30715f1eec No need for putchar('\n') after getpass() 2014-09-04 11:52:12 +01:00
sin
4a324f6359 Check for cmd truncation in watch(1) 2014-08-25 19:14:57 +01:00
Wolfgang Corcoran-Mathe
9859943d47 Remove unnecessary newline output from su 2014-08-25 15:37:13 +01:00
sin
cd1a3d5698 Rework parsecmdline() 2014-08-20 20:38:35 +01:00
sin
0fbd4280f8 Add lastlog to README 2014-08-18 22:35:13 +01:00
sin
ef78f20dd8 Use agetline() in lastlog(8)
Some other minor changes as well.
2014-08-18 22:03:50 +01:00
sin
1aaec6250a Convert lastlog(8) to {w,}eprintf() 2014-08-18 21:55:38 +01:00
sin
6af24e35f9 Only check errno if getpwnam() fails 2014-08-18 21:49:22 +01:00
Roberto E. Vargas Caballero
e4677f290b Add lastlog(8)
At the moment this does not work with ubase login(1).  We should
add support to login(1) to write the lastlog entries.

Minor modifications by sin.
2014-08-18 18:29:38 +01:00
sin
1291687152 Only work with stderr in mesg
Previous commit was incomplete (damn git add -p).
2014-08-04 21:04:07 +01:00
sin
af274ce48a Add mesg.1 2014-08-04 21:01:00 +01:00
sin
a068e158e4 Associate perms on stderr as opposed to stdin 2014-08-04 21:00:54 +01:00
sin
cebba6f038 Update TODO 2014-07-27 00:12:05 +01:00
sin
bf9dfd7b29 Only "y" and "n" are valid, nothing else
Good catch FRIGN.
2014-07-26 15:52:44 +01:00
sin
60b1cc522e Add mesg to README 2014-07-26 15:37:16 +01:00
sin
47092bd9b6 Add mesg(1)
No manpage yet.
2014-07-26 15:33:13 +01:00
sin
2e3fae67e2 Add less/pg to TODO 2014-07-14 19:16:52 +01:00
sin
050430c81a Add fakeroot 2014-07-14 19:01:46 +01:00
sin
d10f04c473 Fix include order 2014-07-14 13:30:09 +01:00
Hiltjo Posthuma
8fdc7d70bd passwd: fix /etc/passwd support, ...
... rewrite parts to use libc functions (supported by musl and glibc).
2014-07-14 11:14:36 +01:00
Hiltjo Posthuma
10a539e744 passwd: fix potential double close() 2014-07-12 20:04:29 +01:00
Hiltjo Posthuma
fa0b80442c ps: one case for error handling 2014-07-12 20:04:20 +01:00
Hiltjo Posthuma
f48d545c77 passwd: improvements
- add shadow support.
- allow passwd without argument, prompt which user password is changed.
2014-07-10 22:04:06 +01:00
Hiltjo Posthuma
a27035c281 ps: whoops wrong copy-pasterino 2014-07-09 15:08:21 +01:00
Hiltjo Posthuma
e45e64491e Only check errno if getpwuid() fails
Checking errno otherwise is unspecified.
2014-07-09 15:08:11 +01:00
Hiltjo Posthuma
291aedb875 code consistency fixes 2014-07-09 15:08:01 +01:00
Hiltjo Posthuma
c50f7a3a27 login: separate write utmp in a separate function
write utmp entry (as root) before setuid.
2014-07-09 15:07:53 +01:00