summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adduser/adduser.862
-rw-r--r--adduser/rmuser.86
-rw-r--r--chpass/chpass.16
-rw-r--r--pw/pw.844
-rw-r--r--pw/pw.conf.512
5 files changed, 65 insertions, 65 deletions
diff --git a/adduser/adduser.8 b/adduser/adduser.8
index b514de7..db09a91 100644
--- a/adduser/adduser.8
+++ b/adduser/adduser.8
@@ -48,7 +48,7 @@
.Op Fl v | verbose
.Ek
.Sh DESCRIPTION
-.Nm Adduser
+.Nm Adduser
is a simple program for adding new users.
Adduser checks
the passwd, group and shell databases.
@@ -61,16 +61,16 @@ directory, dotfiles and sends the new user a welcome message.
Login name.
May contain only lowercase characters or digits.
Maximum length
-is 16 characters (see
+is 16 characters (see
.Xr setlogin 2
-BUGS section).
-The reasons for this limit are "Historical".
+BUGS section).
+The reasons for this limit are "Historical".
Given that people have traditionally wanted to break this
limit for aesthetic reasons, it's never been of great importance to break
such a basic fundamental parameter in UNIX.
-You can change
-.Dv UT_NAMESIZE
-in
+You can change
+.Dv UT_NAMESIZE
+in
.Pa /usr/include/utmp.h
and recompile the
world; people have done this and it works, but you will have problems
@@ -81,7 +81,7 @@ If you need a longer login name for e-mail addresses,
you can define an alias in
.Pa /etc/mail/aliases .
.It Sy fullname
-Firstname and surname.
+Firstname and surname.
The
.Ql Pa \&:
character is not allowed.
@@ -90,13 +90,13 @@ Only valid shells from the shell database or sliplogin and pppd
.It Sy uid
Automatically generated or your choice, must be less than 32000.
.It Sy gid/login group
-Your choice or automatically generated.
+Your choice or automatically generated.
.It Sy password
-If not empty, password is encoded with
+If not empty, password is encoded with
.Xr crypt 3 .
.El
.Sh UNIQUE GROUPS
-Perhaps you're missing what
+Perhaps you're missing what
.Em can
be done with this scheme that falls apart
with most other schemes. With each user in his/her own group the user can
@@ -129,33 +129,33 @@ Check /etc/passwd, /etc/group, /etc/shells and exit.
.It Fl class Ar login_class
Set default login class.
.It Fl config_create
-Create new configuration and message file and exit.
+Create new configuration and message file and exit.
.It Fl dotdir Ar directory
-Copy files from
-.Ar directory
+Copy files from
+.Ar directory
into the
.Ev HOME
directory of new users,
.Ql Pa dot.foo
-will be renamed to
+will be renamed to
.Ql Pa .foo .
Don't copy files if
-.Ar directory
+.Ar directory
specified is equal to
.Ar no .
For security make all files writable and readable for owner,
don't allow group or world to write files and allow only owner
-to read/execute/write
-.Pa .rhost ,
-.Pa .Xauthority ,
-.Pa .kermrc ,
-.Pa .netrc ,
+to read/execute/write
+.Pa .rhost ,
+.Pa .Xauthority ,
+.Pa .kermrc ,
+.Pa .netrc ,
.Pa Mail ,
-.Pa prv ,
-.Pa iscreen ,
+.Pa prv ,
+.Pa iscreen ,
.Pa term .
.It Fl group Ar login_group
-Login group.
+Login group.
.Ar USER
means that the username is to be used as login group.
.It Fl help , h , \&?
@@ -168,16 +168,16 @@ Send new users a welcome message from
Specifying a value of
.Ar no
for
-.Ar file
+.Ar file
causes no message to be sent to new users.
.It Fl noconfig
Do not read the default configuration file.
-.It Fl shell Ar shell
+.It Fl shell Ar shell
Default shell for new users.
.It Fl silent , s , quiet , q
-Few warnings, questions, bug reports.
+Few warnings, questions, bug reports.
.It Fl uid Ar uid
-Use uid's from
+Use uid's from
.Ar uid
on up.
.It Fl verbose , v
@@ -187,11 +187,11 @@ Recommended for novice users.
.Sh FORMATS
.Bl -tag -width Ds -compact
.Ql Pa #
-is a comment.
+is a comment.
.It Sy configuration file
.Nm Adduser
-reads and writes this file.
-See
+reads and writes this file.
+See
.Pa /etc/adduser.conf
for more details.
.It Sy message file
diff --git a/adduser/rmuser.8 b/adduser/rmuser.8
index 4e7ca4c..30ecf02 100644
--- a/adduser/rmuser.8
+++ b/adduser/rmuser.8
@@ -42,11 +42,11 @@ The utility
.Pp
.Bl -enum
.It
-Removes the user's
+Removes the user's
.Xr crontab 1
entry (if any).
.It
-Removes any
+Removes any
.Xr at 1
jobs belonging to the user.
.It
@@ -59,7 +59,7 @@ including handling of symbolic links in the path to the actual home
directory.
.It
Removes the incoming mail and pop daemon mail files belonging to the
-user from
+user from
.Pa /var/mail .
.It
Removes all files owned by the user from
diff --git a/chpass/chpass.1 b/chpass/chpass.1
index 0a01472..cb1877b 100644
--- a/chpass/chpass.1
+++ b/chpass/chpass.1
@@ -205,7 +205,7 @@ gcos fields (typically used for site specific user information).
Note that
.Xr finger 1
will display the office location and office phone together under the
-heading
+heading
.Ar Office: .
.Pp
The user's
@@ -410,7 +410,7 @@ slave, in a given NIS domain will do.
.Pp
When using the
.Fl d
-option, the hostname defaults to
+option, the hostname defaults to
.Dq localhost .
The
.Fl h
@@ -477,5 +477,5 @@ User information should (and eventually will) be stored elsewhere.
.Sh HISTORY
The
.Nm
-command appeared in
+command appeared in
.Bx 4.3 Reno .
diff --git a/pw/pw.8 b/pw/pw.8
index 96538ae..0fbb69f 100644
--- a/pw/pw.8
+++ b/pw/pw.8
@@ -1,6 +1,6 @@
.\" Copyright (C) 1996
.\" David L. Nugent. All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -9,7 +9,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY DAVID L. NUGENT AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -194,15 +194,15 @@ Note that
only operates on the local user and group files. NIS users and groups must be
maintained on the NIS server.
.Nm Pw
-handles updating the
-.Pa passwd ,
-.Pa master.passwd ,
+handles updating the
+.Pa passwd ,
+.Pa master.passwd ,
.Pa group
and the secure and insecure
password database files, and must be run as root.
.Pp
The first one or two keywords provided to
-.Nm
+.Nm
on the command line provide the context for the remainder of the arguments.
The keywords
.Ar user
@@ -217,8 +217,8 @@ or
.Ar next
in any order.
(For example,
-.Ar showuser ,
-.Ar usershow ,
+.Ar showuser ,
+.Ar usershow ,
.Ar show user ,
and
.Ar user show
@@ -270,10 +270,10 @@ is preferable to interpret status codes returned by
.Nm
rather than messing up a carefully formatted display.
.It Fl N
-This option is available in
-.Ar add
-and
-.Ar modify
+This option is available in
+.Ar add
+and
+.Ar modify
operations, and tells
.Nm
to output the result of the operation without updating the user or group
@@ -291,7 +291,7 @@ after changing to the directory
This is intended to allow automatic updating of NIS database files.
If separate passwd and group files are being used by NIS, then use the
.Fl y Ar path
-option to specify the location of the NIS passwd database so that
+option to specify the location of the NIS passwd database so that
.Nm
will concurrently update it with the system password
databases.
@@ -333,7 +333,7 @@ or
keywords on the command line without using the
.Fl n
or
-.Fl u
+.Fl u
options.
.El
.Pp
@@ -354,13 +354,13 @@ file itself.
.It Fl d Ar dir
This option sets the account's home directory.
Normally, you will only use this if the home directory is to be different from the
-default determined from
+default determined from
.Pa /etc/pw.conf
- normally
.Pa /home
with the account name as a subdirectory.
.It Fl e Ar date
-Set the account's expiration date.
+Set the account's expiration date.
Format of the date is either a UNIX time in decimal, or a date in
.Ql dd-mmm-yy[yy]
format, where dd is the day, mmm is the month, either in numeric or alphabetic format
@@ -424,10 +424,10 @@ overwritten from the skeleton files.
When a user's home directory is created, it will by default be a subdirectory of the
.Ar basehome
directory as specified by the
-.Fl b
+.Fl b
option (see below), bearing the name of the new account.
This can be overridden by the
-.Fl d
+.Fl d
option on the command line, if desired.
.It Fl k Ar dir
Set the
@@ -437,7 +437,7 @@ the user's home directory is created.
This option only has meaning when used with the
.Fl d
or
-.Fl m
+.Fl m
flags.
.It Fl s Ar shell
Set or changes the user's login shell to
@@ -701,7 +701,7 @@ that use
.Nm .
.Sh GROUP OPTIONS
The
-.Fl C
+.Fl C
and
.Fl q
options (explained at the start of the previous section) are available
@@ -790,7 +790,7 @@ and
options as described above are accepted by these commands.
.Sh DIAGNOSTICS
.Nm Pw
-returns EXIT_SUCCESS on successful operation, otherwise
+returns EXIT_SUCCESS on successful operation, otherwise
.Nm
returns one of the
following exit codes defined by
@@ -888,7 +888,7 @@ specified in the passwd file may be used by default.
.Bl -tag -width /etc/master.passwd.new -compact
.It Pa /etc/master.passwd
The user database
-.It Pa /etc/passwd
+.It Pa /etc/passwd
A Version 7 format password file
.It Pa /etc/login.conf
The user capabilities database
diff --git a/pw/pw.conf.5 b/pw/pw.conf.5
index 7da27a1..9511309 100644
--- a/pw/pw.conf.5
+++ b/pw/pw.conf.5
@@ -1,6 +1,6 @@
.\" Copyright (C) 1996
.\" David L. Nugent. All rights reserved.
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -9,7 +9,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY DAVID L. NUGENT AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -26,7 +26,7 @@
.\"
.Dd December 9, 1996
.Dt PW.CONF 5
-.Os
+.Os
.Sh NAME
.Nm pw.conf
.Nd format of the pw.conf configuration file
@@ -56,7 +56,7 @@ blank lines and lines commencing with a
character are considered comments, and any remaining lines are
examined for a leading keyword, followed by corresponding data.
.Pp
-Keywords recognized by
+Keywords recognized by
.Xr pw 8
are:
.Bl -tag -width password_days -offset indent -compact
@@ -214,7 +214,7 @@ These shells must exist in one of the directories nominated by
The
.Ar defaultshell
keyword nominates which shell program to use for new users when
-none is specified on the
+none is specified on the
.Xr pw 8
command line.
.Pp
@@ -228,7 +228,7 @@ is used, then each new user will have a corresponding group of
their own created automatically.
This is the recommended procedure for new users as it best secures each
user's files against interference by other users of the system
-irrespective of the
+irrespective of the
.Em umask
normally used by the user.
.Pp