summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-29 14:08:20 +0000
committerru <ru@FreeBSD.org>2000-12-29 14:08:20 +0000
commit8ba41876884256f20dce333e0a239a8555ee2670 (patch)
tree406fdc6bd2e9339a476078f0728594ca5e4102f4 /lib/libutil
parentf6aeda2758e1076d8ebfb1ef7f190c7f3ed5fb8a (diff)
downloadFreeBSD-src-8ba41876884256f20dce333e0a239a8555ee2670.zip
FreeBSD-src-8ba41876884256f20dce333e0a239a8555ee2670.tar.gz
Prepare for mdoc(7)NG.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/auth.31
-rw-r--r--lib/libutil/login.conf.5126
-rw-r--r--lib/libutil/login_cap.32
-rw-r--r--lib/libutil/realhostname_sa.31
-rw-r--r--lib/libutil/trimdomain.313
5 files changed, 70 insertions, 73 deletions
diff --git a/lib/libutil/auth.3 b/lib/libutil/auth.3
index 323d2f6..b575bcf 100644
--- a/lib/libutil/auth.3
+++ b/lib/libutil/auth.3
@@ -40,7 +40,6 @@
.Ft char *
.Fn auth_getval "const char *name"
.Sh DESCRIPTION
-
The function
.Fn auth_getval
returns the value assocated with the field called
diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5
index 281b4e1..6712947 100644
--- a/lib/libutil/login.conf.5
+++ b/lib/libutil/login.conf.5
@@ -151,17 +151,17 @@ notation may be used.
.Pp
.Sh RESOURCE LIMITS
.Bl -column coredumpsize indent indent
-.Sy Name Type Notes Description
-.It cputime time CPU usage limit.
-.It filesize size Maximum file size limit.
-.It datasize size Maximum data size limit.
-.It stacksize size Maximum stack size limit.
-.It coredumpsize size Maximum coredump size limit.
-.It memoryuse size Maximum of core memory use size limit.
-.It memorylocked size Maximum locked in core memory size limit.
-.It maxproc number Maximum number of processes.
-.It openfiles number Maximum number of open files per process.
-.It sbsize size Maximum permitted socketbuffer size.
+.It Sy "Name Type Notes Description
+.It "cputime time CPU usage limit.
+.It "filesize size Maximum file size limit.
+.It "datasize size Maximum data size limit.
+.It "stacksize size Maximum stack size limit.
+.It "coredumpsize size Maximum coredump size limit.
+.It "memoryuse size Maximum of core memory use size limit.
+.It "memorylocked size Maximum locked in core memory size limit.
+.It "maxproc number Maximum number of processes.
+.It "openfiles number Maximum number of open files per process.
+.It "sbsize size Maximum permitted socketbuffer size.
.El
.Pp
These resource limit entries actually specify both the maximum
@@ -174,60 +174,60 @@ The maximum and current limits may be specified individually by appending a
.Pp
.Sh ENVIRONMENT
.Bl -column ignorenologin indent xbinxxusrxbin
-.Sy Name Type Notes Description
-.It charset string Set $MM_CHARSET environment variable to the specified
+.It Sy "Name Type Notes Description
+.It "charset string Set $MM_CHARSET environment variable to the specified
value.
-.It hushlogin bool false Same as having a ~/.hushlogin file.
-.It ignorenologin bool false Login not prevented by nologin.
-.It lang string Set $LANG environment variable to the specified value.
-.It manpath path Default search path for manpages.
-.It nologin file If the file exists it will be displayed and
+.It "hushlogin bool false Same as having a ~/.hushlogin file.
+.It "ignorenologin bool false Login not prevented by nologin.
+.It "lang string Set $LANG environment variable to the specified value.
+.It "manpath path Default search path for manpages.
+.It "nologin file If the file exists it will be displayed and
the login session will be terminated.
-.It path path /bin /usr/bin Default search path.
-.It priority number Initial priority (nice) level.
-.It requirehome bool false Require a valid home directory to login.
-.It setenv list A comma-separated list of environment variables and
+.It "path path /bin /usr/bin Default search path.
+.It "priority number Initial priority (nice) level.
+.It "requirehome bool false Require a valid home directory to login.
+.It "setenv list A comma-separated list of environment variables and
values to which they are to be set.
-.It shell prog Session shell to execute rather than the
+.It "shell prog Session shell to execute rather than the
shell specified in the passwd file.
The SHELL environment variable will
contain the shell specified in the password file.
-.It term string Default terminal type if not able to determine from
+.It "term string Default terminal type if not able to determine from
other means.
-.It timezone string Default value of $TZ environment variable.
-.It umask number 022 Initial umask. Should always have a leading 0 to
+.It "timezone string Default value of $TZ environment variable.
+.It "umask number 022 Initial umask. Should always have a leading 0 to
ensure octal interpretation.
-.It welcome file /etc/motd File containing welcome message.
+.It "welcome file /etc/motd File containing welcome message.
.El
.Pp
.Sh AUTHENTICATION
.Bl -column minpasswordlen indent indent
-.Sy Name Type Notes Description
-.It minpasswordlen number 6 The minimum length a local password may be.
-.It passwd_format string md5 The encryption format that new or
+.It Sy "Name Type Notes Description
+.It "minpasswordlen number 6 The minimum length a local password may be.
+.It "passwd_format string md5 The encryption format that new or
changed passwords will use.
Valid values include "md5" and "des".
NIS clients using a
.No non- Ns Fx
NIS server should probably use "des".
-.\" .It approve program Program to approve login.
-.It mixpasswordcase bool true Whether
+.\" .It "approve program Program to approve login.
+.It "mixpasswordcase bool true Whether
.Xr passwd 1
will warn the user if an all lower case password is entered.
-.It copyright file File containing additional copyright information
-.\".It widepasswords bool false Use the wide password format. The wide password
+.It "copyright file File containing additional copyright information
+.\".It "widepasswords bool false Use the wide password format. The wide password
.\" format allows up to 128 significant characters in the password.
-.It host.allow list List of remote host wildcards from which users in
+.It "host.allow list List of remote host wildcards from which users in
the class may access.
-.It host.deny list List of remote host wildcards from which users in
+.It "host.deny list List of remote host wildcards from which users in
the class may not access.
-.It times.allow list List of time periods during which
+.It "times.allow list List of time periods during which
logins are allowed.
-.It times.deny list List of time periods during which logins are
+.It "times.deny list List of time periods during which logins are
disallowed.
-.It ttys.allow list List of ttys and ttygroups which users
+.It "ttys.allow list List of ttys and ttygroups which users
in the class may use for access.
-.It ttys.deny list List of ttys and ttygroups which users
+.It "ttys.deny list List of ttys and ttygroups which users
in the class may not use for access.
.El
.Pp
@@ -317,38 +317,38 @@ If both lists are given and are non-empty, the user is restricted to those
devices allowed by ttys.allow that are not available by ttys.deny.
.Sh ACCOUNTING LIMITS
.Bl -column host.accounted indent indent
-.Sy Name Type Notes Description
-.It accounted bool false Enable session time accounting for all users
+.It Sy "Name Type Notes Description
+.It "accounted bool false Enable session time accounting for all users
in this class.
-.It autodelete time Time after expiry when account is auto-deleted.
-.It bootfull bool false Enable 'boot only if ttygroup is full' strategy
+.It "autodelete time Time after expiry when account is auto-deleted.
+.It "bootfull bool false Enable 'boot only if ttygroup is full' strategy
when terminating sessions.
-.It daytime time Maximum login time per day.
-.It expireperiod time Time for expiry allocation.
-.It graceexpire time Grace days for expired account.
-.It gracetime time Additional grace login time allowed.
-.It host.accounted list List of remote host wildcards from which
+.It "daytime time Maximum login time per day.
+.It "expireperiod time Time for expiry allocation.
+.It "graceexpire time Grace days for expired account.
+.It "gracetime time Additional grace login time allowed.
+.It "host.accounted list List of remote host wildcards from which
login sessions will be accounted.
-.It host.exempt list List of remote host wildcards from which
+.It "host.exempt list List of remote host wildcards from which
login session accounting is exempted.
-.It idletime time Maximum idle time before logout.
-.It monthtime time Maximum login time per month.
-.It passwordtime time Used by
+.It "idletime time Maximum idle time before logout.
+.It "monthtime time Maximum login time per month.
+.It "passwordtime time Used by
.Xr passwd 1
to set next password expiry date.
-.It refreshtime time New time allowed on account refresh.
-.It refreshperiod str How often account time is refreshed.
-.It sessiontime time Maximum login time per session.
-.It sessionlimit number Maximum number of concurrent
+.It "refreshtime time New time allowed on account refresh.
+.It "refreshperiod str How often account time is refreshed.
+.It "sessiontime time Maximum login time per session.
+.It "sessionlimit number Maximum number of concurrent
login sessions on ttys in any group.
-.It ttys.accounted list List of ttys and ttygroups for which
+.It "ttys.accounted list List of ttys and ttygroups for which
login accounting is active.
-.It ttys.exempt list List of ttys and ttygroups for which login accounting
+.It "ttys.exempt list List of ttys and ttygroups for which login accounting
is exempt.
-.It warnexpire time Advance notice for pending account expiry.
-.It warnpassword time Advance notice for pending password expiry.
-.It warntime time Advance notice for pending out-of-time.
-.It weektime time Maximum login time per week.
+.It "warnexpire time Advance notice for pending account expiry.
+.It "warnpassword time Advance notice for pending password expiry.
+.It "warntime time Advance notice for pending out-of-time.
+.It "weektime time Maximum login time per week.
.El
.Pp
These fields are used by the time accounting system, which regulates,
diff --git a/lib/libutil/login_cap.3 b/lib/libutil/login_cap.3
index 71b19ee..a7a796a 100644
--- a/lib/libutil/login_cap.3
+++ b/lib/libutil/login_cap.3
@@ -370,7 +370,7 @@ The function accepts three parameters, the login_cap entry itself and
two optional parameters, and authorisation type 'auth' and 'style', and
applies these to determine the authorisation style that best suites
these rules.
-.Bl -bullet -indent offset
+.Bl -bullet
.It
If 'auth' is neither NULL nor an empty string, look for a tag of type
"auth-<auth>" in the capability record.
diff --git a/lib/libutil/realhostname_sa.3 b/lib/libutil/realhostname_sa.3
index 7ccff3c..730e3d5 100644
--- a/lib/libutil/realhostname_sa.3
+++ b/lib/libutil/realhostname_sa.3
@@ -127,4 +127,3 @@ now contains the numeric value of
.Xr getaddrinfo 3 ,
.Xr getnameinfo 3 ,
.Xr realhostname 3
-
diff --git a/lib/libutil/trimdomain.3 b/lib/libutil/trimdomain.3
index fa27e14..b93ff05 100644
--- a/lib/libutil/trimdomain.3
+++ b/lib/libutil/trimdomain.3
@@ -63,18 +63,17 @@ is actually a
.Dv DISPLAY
specification of the form
.Sm off
-.Ar host No . Ar domain No : Ns
-.Sm on
-.Ar \&nn Oo
-.No . Ns Ar \&nn
+.Ar host . domain : nn Oo .
+.Ar nn
.Oc
+.Sm on
and the domain name is the same as the local domain name,
.Fn trimdomain
will remove the embedded domain name, copying the screen and display
numbers to the end of the base host name and resulting in
-.Ar host No : Ns Ar \&nn Oo
-.No . Ns Ar \&nn
-.Oc .
+.Sm off
+.Ar host : nn Op . Ar nn .
+.Sm on
.Sh RETURN VALUES
.Fn trimdomain
does not return a value.
OpenPOWER on IntegriCloud