Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 154401
Collapse All | Expand All

(-)cvs-shadow/contrib/adduser.c (-1 / +1 lines)
Lines 169-175 Link Here
169
  if (geteuid () != 0)
169
  if (geteuid () != 0)
170
    {
170
    {
171
      printf ("It seems you don't have access to add a new user.  Try\n");
171
      printf ("It seems you don't have access to add a new user.  Try\n");
172
      printf ("logging in as root or su root to gain super-user access.\n");
172
      printf ("logging in as root or su root to gain superuser access.\n");
173
      exit (1);
173
      exit (1);
174
    }
174
    }
175
175
(-)cvs-shadow/contrib/groupmems.shar (-5 / +5 lines)
Lines 211-218 Link Here
211
#define EXIT_SUCCESS		0	/* success */
211
#define EXIT_SUCCESS		0	/* success */
212
#define EXIT_USAGE		1	/* invalid command syntax */
212
#define EXIT_USAGE		1	/* invalid command syntax */
213
#define EXIT_GROUP_FILE		2	/* group file access problems */
213
#define EXIT_GROUP_FILE		2	/* group file access problems */
214
#define EXIT_NOT_ROOT		3	/* not super user  */
214
#define EXIT_NOT_ROOT		3	/* not superuser  */
215
#define EXIT_NOT_EROOT		4	/* not effective super user  */
215
#define EXIT_NOT_EROOT		4	/* not effective superuser  */
216
#define EXIT_NOT_PRIMARY	5	/* not primary owner of group  */
216
#define EXIT_NOT_PRIMARY	5	/* not primary owner of group  */
217
#define EXIT_NOT_MEMBER		6	/* member of group does not exist */
217
#define EXIT_NOT_MEMBER		6	/* member of group does not exist */
218
#define EXIT_MEMBER_EXISTS	7	/* member of group already exists */
218
#define EXIT_MEMBER_EXISTS	7	/* member of group already exists */
Lines 481-491 Link Here
481
[\fB-g\fI group_name \fR]
481
[\fB-g\fI group_name \fR]
482
X.SH DESCRIPTION
482
X.SH DESCRIPTION
483
The \fBgroupmems\fR utility allows a user to administer his/her own
483
The \fBgroupmems\fR utility allows a user to administer his/her own
484
group membership list without the requirement of super user privileges.
484
group membership list without the requirement of superuser privileges.
485
The \fBgroupmems\fR utility is for systems that configure its users to
485
The \fBgroupmems\fR utility is for systems that configure its users to
486
be in their own name sake primary group (i.e., guest / guest).
486
be in their own name sake primary group (i.e., guest / guest).
487
X.P
487
X.P
488
Only the super user, as administrator, can use \fBgroupmems\fR to alter
488
Only the superuser, as administrator, can use \fBgroupmems\fR to alter
489
the memberships of other groups.
489
the memberships of other groups.
490
X.IP "\fB-a \fIuser_name\fR"
490
X.IP "\fB-a \fIuser_name\fR"
491
Add a new user to the group membership list.
491
Add a new user to the group membership list.
Lines 496-502 Link Here
496
X.IP "\fB-D\fR"
496
X.IP "\fB-D\fR"
497
Delete all users from the group membership list.
497
Delete all users from the group membership list.
498
X.IP "\fB-g \fIgroup_name\fR"
498
X.IP "\fB-g \fIgroup_name\fR"
499
The super user can specify which group membership list to modify.
499
The superuser can specify which group membership list to modify.
500
X.SH SETUP
500
X.SH SETUP
501
The \fBgroupmems\fR executable should be in mode \fB2770\fR as user \fBroot\fR
501
The \fBgroupmems\fR executable should be in mode \fB2770\fR as user \fBroot\fR
502
and in group \fBgroups\fR.   The system administrator can add users to
502
and in group \fBgroups\fR.   The system administrator can add users to
(-)cvs-shadow/man/chfn.1.xml (-2 / +2 lines)
Lines 33-40 Link Here
33
      </citerefentry> and similar programs. A normal user may only change
33
      </citerefentry> and similar programs. A normal user may only change
34
      the fields for her own account, subject to the restrictions in
34
      the fields for her own account, subject to the restrictions in
35
      <filename>/etc/login.defs</filename>. (The default configuration is to
35
      <filename>/etc/login.defs</filename>. (The default configuration is to
36
      prevent users from changing their fullname.) The super user may change
36
      prevent users from changing their fullname.) The superuser may change
37
      any field for any account. Additionally, only the super user may use
37
      any field for any account. Additionally, only the superuser may use
38
      the <option>-o</option> option to change the undefined portions of the
38
      the <option>-o</option> option to change the undefined portions of the
39
      GECOS field.
39
      GECOS field.
40
    </para>
40
    </para>
(-)cvs-shadow/man/chsh.1.xml (-3 / +3 lines)
Lines 28-35 Link Here
28
    <para>
28
    <para>
29
      The <command>chsh</command> command changes the user login shell.
29
      The <command>chsh</command> command changes the user login shell.
30
      This determines the name of the user's initial login command. A normal
30
      This determines the name of the user's initial login command. A normal
31
      user may only change the login shell for her own account, the super
31
      user may only change the login shell for her own account, the
32
      user may change the login shell for any account.
32
      superuser may change the login shell for any account.
33
    </para>
33
    </para>
34
34
35
  </refsect1>
35
  </refsect1>
Lines 72-78 Link Here
72
    <para>
72
    <para>
73
      The only restriction placed on the login shell is that the command
73
      The only restriction placed on the login shell is that the command
74
      name must be listed in <filename>/etc/shells</filename>, unless the
74
      name must be listed in <filename>/etc/shells</filename>, unless the
75
      invoker is the super-user, and then any value may be added. An
75
      invoker is the superuser, and then any value may be added. An
76
      account with a restricted login shell may not change her login shell.
76
      account with a restricted login shell may not change her login shell.
77
      For this reason, placing <filename>/bin/rsh</filename> in
77
      For this reason, placing <filename>/bin/rsh</filename> in
78
      <filename>/etc/shells</filename> is discouraged since accidentally
78
      <filename>/etc/shells</filename> is discouraged since accidentally
(-)cvs-shadow/man/groupmems.8.xml (-4 / +4 lines)
Lines 27-39 Link Here
27
    <title>DESCRIPTION</title>
27
    <title>DESCRIPTION</title>
28
    <para>
28
    <para>
29
      The <command>groupmems</command> command allows a user to administer
29
      The <command>groupmems</command> command allows a user to administer
30
      his/her own group membership list without the requirement of super
30
      his/her own group membership list without the requirement of
31
      user privileges. The <command>groupmems</command> utility is for
31
      superuser privileges. The <command>groupmems</command> utility is for
32
      systems that configure its users to be in their own name sake primary
32
      systems that configure its users to be in their own name sake primary
33
      group (i.e., guest / guest).
33
      group (i.e., guest / guest).
34
    </para>
34
    </para>
35
35
36
    <para>Only the super user, as administrator, can use
36
    <para>Only the superuser, as administrator, can use
37
      <command>groupmems</command> to alter the memberships of other groups.
37
      <command>groupmems</command> to alter the memberships of other groups.
38
    </para>
38
    </para>
39
  </refsect1>
39
  </refsect1>
Lines 66-72 Link Here
66
      <varlistentry>
66
      <varlistentry>
67
	<term><option>-g</option> <replaceable>group_name</replaceable></term>
67
	<term><option>-g</option> <replaceable>group_name</replaceable></term>
68
	<listitem>
68
	<listitem>
69
	  <para>The super user can specify which group membership
69
	  <para>The superuser can specify which group membership
70
	    list to modify.
70
	    list to modify.
71
	  </para>
71
	  </para>
72
	</listitem>
72
	</listitem>
(-)cvs-shadow/man/passwd.1.xml (-2 / +2 lines)
Lines 28-34 Link Here
28
    <para>
28
    <para>
29
      The <command>passwd</command> command changes passwords for user accounts.
29
      The <command>passwd</command> command changes passwords for user accounts.
30
      A normal user may only change the password for his/her own account, while
30
      A normal user may only change the password for his/her own account, while
31
      the super user may change the password for any account.
31
      the superuser may change the password for any account.
32
      <command>passwd</command> also changes account information, such as
32
      <command>passwd</command> also changes account information, such as
33
      the full name of the user, the user's login shell, or his/her password
33
      the full name of the user, the user's login shell, or his/her password
34
      expiry date and interval.
34
      expiry date and interval.
Lines 40-46 Link Here
40
	The user is first prompted for his/her old password, if one is
40
	The user is first prompted for his/her old password, if one is
41
	present. This password is then encrypted and compared against the
41
	present. This password is then encrypted and compared against the
42
	stored password. The user has only one chance to enter the correct
42
	stored password. The user has only one chance to enter the correct
43
	password. The super user is permitted to bypass this step so that
43
	password. The superuser is permitted to bypass this step so that
44
	forgotten passwords may be changed.
44
	forgotten passwords may be changed.
45
      </para>
45
      </para>
46
46
(-)cvs-shadow/man/shadow.3.xml (-1 / +1 lines)
Lines 163-169 Link Here
163
  <refsect1 id='caveats'>
163
  <refsect1 id='caveats'>
164
    <title>CAVEATS</title>
164
    <title>CAVEATS</title>
165
    <para>
165
    <para>
166
      These routines may only be used by the super user as access to the
166
      These routines may only be used by the superuser as access to the
167
      shadow password file is restricted.
167
      shadow password file is restricted.
168
    </para>
168
    </para>
169
  </refsect1>
169
  </refsect1>
(-)cvs-shadow/man/su.1.xml (-3 / +3 lines)
Lines 8-14 Link Here
8
  </refmeta>
8
  </refmeta>
9
  <refnamediv id='name'>
9
  <refnamediv id='name'>
10
    <refname>su</refname>
10
    <refname>su</refname>
11
    <refpurpose>change user ID or become super-user</refpurpose>
11
    <refpurpose>change user ID or become superuser</refpurpose>
12
  </refnamediv>
12
  </refnamediv>
13
  <refsynopsisdiv id='synopsis'>
13
  <refsynopsisdiv id='synopsis'>
14
    <cmdsynopsis>
14
    <cmdsynopsis>
Lines 30-36 Link Here
30
      The <command>su</command> command is used to become another user during
30
      The <command>su</command> command is used to become another user during
31
      a login session. Invoked without a <option>username</option>, 
31
      a login session. Invoked without a <option>username</option>, 
32
      <command>su</command> defaults to
32
      <command>su</command> defaults to
33
      becoming the super user. The optional argument <option>-</option> may
33
      becoming the superuser. The optional argument <option>-</option> may
34
      be used to provide an environment similar to what the user would
34
      be used to provide an environment similar to what the user would
35
      expect had the user logged in directly.
35
      expect had the user logged in directly.
36
    </para>
36
    </para>
Lines 58-64 Link Here
58
      The current environment is passed to the new shell. The value of
58
      The current environment is passed to the new shell. The value of
59
      <envar>$PATH</envar> is reset to <filename>/bin:/usr/bin</filename>
59
      <envar>$PATH</envar> is reset to <filename>/bin:/usr/bin</filename>
60
      for normal users, or <filename>/sbin:/bin:/usr/sbin:/usr/bin</filename>
60
      for normal users, or <filename>/sbin:/bin:/usr/sbin:/usr/bin</filename>
61
      for the super user. This may be changed with the
61
      for the superuser. This may be changed with the
62
      <emphasis>ENV_PATH</emphasis> and <emphasis>ENV_SUPATH</emphasis>
62
      <emphasis>ENV_PATH</emphasis> and <emphasis>ENV_SUPATH</emphasis>
63
      definitions in <filename>/etc/login.defs</filename>.
63
      definitions in <filename>/etc/login.defs</filename>.
64
    </para>
64
    </para>
(-)cvs-shadow/po/it.po (-1 / +1 lines)
Lines 18-24 Link Here
18
# “(shadow) group file”...............: «file dei gruppi (shadow)»
18
# “(shadow) group file”...............: «file dei gruppi (shadow)»
19
# “shadow password”...................: «shadow password»
19
# “shadow password”...................: «shadow password»
20
# “(shadow) password file”............: «file delle (shadow) password»
20
# “(shadow) password file”............: «file delle (shadow) password»
21
# “super user”........................: «root» o «amministratore»
21
# “superuser”.........................: «root» o «amministratore»
22
# “user name”.........................: «nome utente»
22
# “user name”.........................: «nome utente»
23
#
23
#
24
msgid ""
24
msgid ""
(-)cvs-shadow/src/groupmems.c (-2 / +2 lines)
Lines 47-54 Link Here
47
#define EXIT_SUCCESS		0	/* success */
47
#define EXIT_SUCCESS		0	/* success */
48
#define EXIT_USAGE		1	/* invalid command syntax */
48
#define EXIT_USAGE		1	/* invalid command syntax */
49
#define EXIT_GROUP_FILE		2	/* group file access problems */
49
#define EXIT_GROUP_FILE		2	/* group file access problems */
50
#define EXIT_NOT_ROOT		3	/* not super user  */
50
#define EXIT_NOT_ROOT		3	/* not superuser  */
51
#define EXIT_NOT_EROOT		4	/* not effective super user  */
51
#define EXIT_NOT_EROOT		4	/* not effective superuser  */
52
#define EXIT_NOT_PRIMARY	5	/* not primary owner of group  */
52
#define EXIT_NOT_PRIMARY	5	/* not primary owner of group  */
53
#define EXIT_NOT_MEMBER		6	/* member of group does not exist */
53
#define EXIT_NOT_MEMBER		6	/* member of group does not exist */
54
#define EXIT_MEMBER_EXISTS	7	/* member of group already exists */
54
#define EXIT_MEMBER_EXISTS	7	/* member of group already exists */

Return to bug 154401