s/user name/username/

This commit is contained in:
Michael Kerrisk 2008-06-30 14:36:59 +00:00
parent 881663d9c6
commit 18701562c1
16 changed files with 27 additions and 27 deletions

View File

@ -138,7 +138,7 @@ The
here was the command prompt \(em it is the shell's way of indicating
that it is ready for the next command.
The prompt can be customized
in lots of ways, and one might include stuff like user name,
in lots of ways, and one might include stuff like username,
machine name, current directory, time, etc.
An assignment PS1="What next, master? "
would change the prompt as indicated.

View File

@ -62,7 +62,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.in +4n
.nf
struct passwd {
char *pw_name; /* user name */
char *pw_name; /* username */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user ID */
gid_t pw_gid; /* group ID */

View File

@ -27,7 +27,7 @@
.\" modified 2003 Walter Harms, aeb - added getlogin_r, note on stdin use
.TH GETLOGIN 3 2008-06-29 "GNU" "Linux Programmer's Manual"
.SH NAME
getlogin, getlogin_r, cuserid \- get user name
getlogin, getlogin_r, cuserid \- get username
.SH SYNOPSIS
.B #include <unistd.h>
.sp
@ -60,13 +60,13 @@ this function or to
.BR cuserid ().
.PP
.BR getlogin_r ()
returns this same user name in the array
returns this same username in the array
.I buf
of size
.IR bufsize .
.PP
.BR cuserid ()
returns a pointer to a string containing a user name
returns a pointer to a string containing a username
associated with the effective user ID of the process.
If \fIstring\fP
is not a null pointer, it should be an array that can hold at least
@ -78,7 +78,7 @@ calls to this function or to
.BR getlogin ().
.PP
The macro \fBL_cuserid\fP is an integer constant that indicates how
long an array you might need to store a user name.
long an array you might need to store a username.
\fBL_cuserid\fP is declared in \fI<stdio.h>\fP.
.PP
These functions let your program identify positively the user who is
@ -94,7 +94,7 @@ This is more flexible
precisely because the user can set \fBLOGNAME\fP arbitrarily.
.SH "RETURN VALUE"
.BR getlogin ()
returns a pointer to the user name when successful,
returns a pointer to the username when successful,
and NULL on failure.
.BR getlogin_r ()
returns 0 when successful, and non-zero on failure.
@ -112,7 +112,7 @@ The calling process has no controlling tty.
.TP
.B ERANGE
(getlogin_r)
The length of the user name, including the terminating null byte,
The length of the username, including the terminating null byte,
is larger than
.IR bufsize .
.LP

View File

@ -54,7 +54,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.in +4n
.nf
struct passwd {
char *pw_name; /* user name */
char *pw_name; /* username */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user ID */
gid_t pw_gid; /* group ID */

View File

@ -81,7 +81,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.in +4n
.nf
struct passwd {
char *pw_name; /* user name */
char *pw_name; /* username */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user ID */
gid_t pw_gid; /* group ID */

View File

@ -68,7 +68,7 @@ as follows:
.in +4n
.nf
struct passwd {
char *pw_name; /* user name */
char *pw_name; /* username */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user ID */
gid_t pw_gid; /* group ID */

View File

@ -68,7 +68,7 @@ the broken-out fields of the record in the password database
(e.g., the local password file
.IR /etc/passwd ,
NIS, and LDAP)
that matches the user name
that matches the username
.IR name .
.PP
The
@ -102,7 +102,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.in +4n
.nf
struct passwd {
char *pw_name; /* user name */
char *pw_name; /* username */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user ID */
gid_t pw_gid; /* group ID */

View File

@ -99,7 +99,7 @@ The
.BR getspnam ()
function returns a pointer to a structure containing
the broken-out fields of the record in the shadow password database
that matches the user name
that matches the username
.IR name .
.LP
The

View File

@ -55,7 +55,7 @@ The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.in +4n
.nf
struct passwd {
char *pw_name; /* user name */
char *pw_name; /* username */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user ID */
gid_t pw_gid; /* group ID */

View File

@ -153,7 +153,7 @@ The
and
.BR ruserok ()
functions take a remote host's IP address or name, respectively,
two user names and a flag indicating whether the local user's
two usernames and a flag indicating whether the local user's
name is that of the superuser.
Then, if the user is
.I not
@ -170,7 +170,7 @@ other than the user or the superuser, or is writable by anyone other
than the owner, the check automatically fails.
Zero is returned if the machine name is listed in the
.IR hosts.equiv
file, or the host and remote user name are found in the
file, or the host and remote username are found in the
.IR .rhosts
file; otherwise
.BR iruserok ()

View File

@ -40,7 +40,7 @@ Washington University FTP server Daemon
The format of
.B ftpusers
is very simple.
There is one account name (or user name) per line.
There is one account name (or username) per line.
Lines starting with a # are ignored.
.SH FILES
.I /etc/ftpusers

View File

@ -42,7 +42,7 @@ If this field is empty, no password is needed.
.IP GID
the numerical group ID.
.IP user_list
all the group member's user names, separated by commas.
all the group member's usernames, separated by commas.
.SH FILES
/etc/group
.SH BUGS

View File

@ -36,7 +36,7 @@ group ID, home directory, shell, etc.
Often, it also contains the encrypted passwords for each account.
It should have general read permission (many utilities, like
.BR ls (1)
use it to map user IDs to user names), but write access only for the
use it to map user IDs to usernames), but write access only for the
superuser.
.PP
In the good old days there was no great problem with this general
@ -89,7 +89,7 @@ the numerical primary group ID for this user.
.TP
.I GECOS
This field is optional and only used for informational purposes.
Usually, it contains the full user name.
Usually, it contains the full username.
GECOS means General Electric
Comprehensive Operating System, which has been renamed to GCOS when
GE's large systems division was sold to Honeywell.

View File

@ -194,11 +194,11 @@ After the telnet session ends,
cleans up utmp in the described way.
.PP
The \fIwtmp\fP file records all logins and logouts.
Its format is exactly like \fIutmp\fP except that a null user name
Its format is exactly like \fIutmp\fP except that a null username
indicates a logout
on the associated terminal.
Furthermore, the terminal name \fB~\fP
with user name \fBshutdown\fP or \fBreboot\fP indicates a system
with username \fBshutdown\fP or \fBreboot\fP indicates a system
shutdown or reboot and the pair of terminal names \fB|\fP/\fB}\fP
logs the old/new system time when
.BR date (1)

View File

@ -48,7 +48,7 @@ The domain part ("monet.berkeley.edu") is a mail-accepting domain.
It can be a host and in the past it usually was, but it doesn't have to be.
The domain part is not case sensitive.
.PP
The local part ("eric") is often a user name, but its meaning is
The local part ("eric") is often a username, but its meaning is
defined by the local software.
Sometimes it is case sensitive,
although that is unusual.

View File

@ -116,7 +116,7 @@ permit the authority to be the following format, called here an
.HP
.IR "ip_server = " [ user " [ : " password " ] @ ] " host " [ : " port ]
.PP
This format allows you to optionally insert a user name,
This format allows you to optionally insert a username,
a user plus password, and/or a port number.
The
.I host
@ -128,7 +128,7 @@ logs into a web server on host xyz.com
as fred (using fredpassword) using port 8080.
Avoid including a password in a URI if possible because of the many
security risks of having a password written down.
If the URL supplies a user name but no password, and the remote
If the URL supplies a username but no password, and the remote
server requests a password, the program interpreting the URL
should request one from the user.
.PP
@ -178,7 +178,7 @@ See the Common Gateway Interface specification at
.PP
This is a URL accessing a file through the file transfer protocol (FTP).
The default port (for control) is 21.
If no username is included, the user name "anonymous" is supplied, and
If no username is included, the username "anonymous" is supplied, and
in that case many clients provide as the password the requestor's
Internet email address.
An example is