lslogins --user-accs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying out `lslogins`, noticed two problems (?) with the --user-accs option:

1) The manpage documents --user-accs[=threshold] to override the
"hardcoded" minimum of 1000, but the code doesn't actually /accept/ a
parameter (it reads the actual threshold from login.defs).

2) While not documented, --user-accs also applies the /maximum/ uid
limit. I noticed this on a system that has "UID_MAX 19999" because
LDAP-based accounts start at 20000, which means `lslogins -u` will show
local users but not LDAP ones.

~

Also the "Last logs:" output seems to have ^A / 0x01 in random places:

  00:35:14 krenew<^A>[1295]: renewing credentials

On another system:

  Feb07/00:05 sshd[3009657]: Received disconnect from 78.60.211.195: 11:
disconnected by user<^A>

-- 
Mantas Mikulėnas <grawity@xxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux