User Tools

Site Tools


z:relax:api:host:host-user-list
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

host-user-list

Lists the users on a given host.

Usage

host-user-tab HOST
  • HOST: a key of a host service definition in the repository.

Returns

Returns the first colum (login) of the /etc/passwd file.

Example

users=$(host-user-list "${host}" \
	| egrep -v "${IGNORED_USERS}"
)
z/relax/api/host/host-user-list.txt · Last modified: 2013-02-04 22:17 (external edit)