LOGINS(1)
π LOGINS π
okok so bestie, gather round, because logins is genuinely one of those tiny little utilities that ate and left no crumbs. It's the logins utility from section 1 of the manual β a general command β and its whole personality is: display account information. That's it. That's the gig. β¨
No cap, it's like a little filter-and-peek machine for user and system accounts, and once you get the flags down you'll be obsessed. π«Ά
πΈ SYNOPSIS πΈ
logins [-admopstux] [-g groups] [-l logins]
literally just pick your flags and go, iykyk π¦
β¨ DESCRIPTION β¨
The logins utility displays information about user and system accounts. cute, simple, iconic. π
Here are all the options, bestie β and yes, there are a lot, but you're gonna slay them all:
-aβ Display information about the password change and account expiration times for each account. (the "when does this expire" tea β)-dβ Select accounts with duplicate UIDs. like, two accounts sharing one ID? messy. this finds them. π-g groupsβ Select accounts that are members of the specified groups. If multiple group names are specified, they must be separated with commas. (comma, comma, comma β not spaces, bestie, commas π )-l loginsβ Select accounts matching the specified login names. If multiple names are specified, they must be separated with commas. (same deal β commas only π)-mβ Show information about secondary groups.-oβ Display the information for each account on a single line of colon-separated fields. (one line per account, colon-separated β very main character energy, very parseable π)-pβ Select accounts with no password. π-sβ Select system accounts. These are currently defined as accounts with UIDs below 1000, plus theβnobodyβaccount (UID65534).-tβ Sort selected accounts by name rather than by UID. (name order > UID order, imo π)-uβ Select user accounts. These are currently defined as accounts with UIDs above 1000, except theβnobodyβaccount (UID65534). (so-sand-uare the two halves of the world, andnobodylives in system-land, periodt β)-xβ Display information about each account's home directory and shell. (where they live + what they run π)
ok so important bit β if multiple selection options are specified, all accounts matching any of the selection criteria will be displayed. it's a union, not an intersection, bestie. π₯
and if no selection options are specified, all accounts will be displayed. literally all of them. the whole roster. π¦
π SEE ALSO π
go read those when you're done here, they're the supporting cast and they understood the assignment too π§
π HISTORY π
The logins utility appeared in FreeBSD 4.10. vintage! iconic! it's giving legacy but make it cute π
π AUTHORS π
The logins utility was written by Dag-Erling SmΓΈrgrav <des@FreeBSD.org> based on similar utilities in other operating systems. ty for your service, king π«‘π
and that's the whole page, bestie β no crumbs left. this one's from Debian, dated March 6, 2004, and it's the LOGINS(1) manual page. mwah πβ¨πΈ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2004 Dag-Erling SmΓΈrgrav
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms