> > > 'dir' Home directory
> >
> > 'homedir' or 'home' are _much_ better for us sysadmins...
>
> Not if you sysadmins are familiar with the UNIX documentation, whence *all*
> these names are taken! ;-)
Well, I've always hated it, and most everyone I know does too. And my
man pages say this:
Linux:
GETPWNAM(3) Linux Programmer's Manual GETPWNAM(3)
NAME
getpwnam, getpwuid - get password file entry
<snip>
The passwd structure is defined in <pwd.h> as follows:
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user id */
gid_t pw_gid; /* group id */
char *pw_gecos; /* real name */
char *pw_dir; /* home directory */
char *pw_shell; /* shell program */
};
Solaris:
Standard C Library Functions getpwnam(3C)
NAME
getpwnam, getpwnam_r, getpwent, getpwent_r, getpwuid,
getpwuid_r, setpwent, endpwent, fgetpwent, fgetpwent_r - get
password entry
<snip>
struct passwd {
char *pw_name; /* user's login name */
char *pw_passwd; /* no longer used */
uid_t pw_uid; /* user's uid */
gid_t pw_gid; /* user's gid */
char *pw_age; /* not used */
char *pw_comment; /* not used */
char *pw_gecos; /* typically user's full name */
char *pw_dir; /* user's home dir */
char *pw_shell; /* user's login shell */
};
So I suggest we change 'gcos' to 'gecos' then. Should we add the pw_
prefix too? ;-)
-Nate
P.S. Seriously, I don't care that much, and I'm not going to the mat on
this one. I'm way past burned out.