Skip to content

vdominfo.1

Manvendra Bhangui edited this page Feb 25, 2024 · 4 revisions

NAME

vdominfo - Display domain information for virtual domains

SYNOPSYS

vdominfo [ domain_name ]

DESCRIPTION

vdominfo displays domain information for all domains (or for a particular domain given on the command line). vdominfo has setuid bit set and can be run by root user, or by user having uid/gid of the domain in @sysconfdir@/users/assign or if the user has the gid of the domain as a supplementary group. The information is given as below

Domain
The domain name (the real domain in case of an alias domain).

uid
uid of the virtualdomain

gid
gid of the virtualdomain

Host ID
Hostid for the host where the domain is created.

IP Addr
IP Address of the host.

Domain Dir
Domain directory for the domain.

Base Dir
User's base home directory for the domain.

Users
No of users in this domain. (Not displayed for an alias domain)

vlimits
If vlimits is enabled or disabled

AliasDomains
List of alias domains for this domain.

OPTIONS

-a
Display all fields

-n
Display domain name

-u
Display uid fields.

-g
Display gid fields

-d
Display domain directory

-b
Display user's base home directory

-t
Display user count

-l
Display alias domains.

-p
Display SMTP ports

domain_name
The name of the virtual domain.

RETURN VALUE

0 for success, 1 for any failure.

SEE ALSO

printdir(1), vadddomain(1), vaddaliasdomain(1), vmoddomain(1), vdeldomain(1), vlimit(1), dbinfo(8),

Clone this wiki locally