rusers - 输出登录远程计算机的用户信息
rusers [-ahilu] host...
rusers 命令可生成与 who(1) 类似的输出,但其面向远程计算机。列表按照收到响应的顺序排列,但是可通过指定以下所列选项中的一个来更改此顺序。
缺省情况下将输出登录用户的名称。当给定 –l 标志时,系统将为每位用户输出其他信息:
userid hostname:terminal login_date login_time idle_time login_host
If hostname and login_host are the same value, the login_host field is not displayed.类似地,如果 hostname 未处于空闲状态,则不会显示 idle_time。
A remote host will only respond if it is running the rpc.rusersd(8) daemon, which may be started up from inetd(8) under the service identifier svc:/network/rpc/rusers:default.This service is disabled by default on Solaris 10 systems with a secure by default configuration and on all Solaris 11 systems, and must be enabled by an administrator in order for a host to respond to rusers queries.
If no name can be found for a host via the hosts(5) name service, rusers displays a numeric IP address for the host.
为计算机提供报告,即使无用户登录。
按主机名的字母顺序排序。
按空闲时间排序。
按照 who(1) 的样式提供较长的列表。
按照用户数量排序。
有关下列属性的说明,请参见 attributes(7):
|
who(1), attributes(7), inetd(8), rpc.rusersd(8)
The rusers command, including support for the options –a, –h, and –i, –l, and –u, has been present since the initial release of Solaris.