PROPHET/OS

NAME

users: who there is, who sits on which console, and in which groups

SYNOPSIS

users [--tui]

DESCRIPTION

Who there is, who sits on which console, and in which groups. One row per user, and one for a session whose name stands in no list.

users         every user with their number, console and groups
users --tui   the same table live on the whole screen

The row of the user this shell runs as is green, so the answer whoami gives stands in this table too. A user who may not log in is grey: they own things of the system and nothing ever runs as them.

Console carries here for the console this shell sits on. Logged in is how long ago the login was: the kernel keeps the beat, the span follows from it and the clock.

Groups carries every group this user belongs to, the primary one included, because that is a membership like any other. The other direction is groups: the groups with their members, including the ones nobody is in.

The number says who somebody is, and never what they may do. What they may do stands in the capabilities, and runs shows those.

It carries two commands: who, which showed who sits where, and id, which showed the number, the group and the memberships of the one asking. Those were two tools over one list, and id answered for one person only.

whoami stays: one word in every script.

EXAMPLE

$ users
Name               Uid   Gid Group        Login Console  Logged in Home             Groups
root              1000  1000 root         yes   1 here        2min /root            log superuser admin root rad
prophet           1001  1001 prophet      yes   -                - /home/prophet    prophet rad

SEE ALSO

groups, whoami, login, passwd, chvt, runs