~ubuntu-branches/ubuntu/raring/shadow/raring-proposed

« back to all changes in this revision

Viewing changes to man/sv/newgrp.1

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\"     Title: newgrp
2
2
.\"    Author: 
3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4
 
.\"      Date: 03-04-2008
 
4
.\"      Date: 15-04-2009
5
5
.\"    Manual: Användarkommandon
6
6
.\"    Source: Användarkommandon
7
7
.\"
8
 
.TH "NEWGRP" "1" "03-04-2008" "Användarkommandon" "Användarkommandon"
 
8
.TH "NEWGRP" "1" "15-04-2009" "Användarkommandon" "Användarkommandon"
9
9
.\" disable hyphenation
10
10
.nh
11
11
.\" disable justification (adjust text to left margin only)
19
19
.PP
20
20
The
21
21
\fBnewgrp\fR
22
 
command is used to change the current group ID during a login session\. If the optional
 
22
command is used to change the current group ID during a login session\&. If the optional
23
23
\fB\-\fR
24
 
flag is given, the user\'s environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged\.
 
24
flag is given, the user\'s environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged\&.
25
25
.PP
26
26
 
27
27
\fBnewgrp\fR
28
28
changes the current real group ID to the named group, or to the default group listed in
29
29
\fI/etc/passwd\fR
30
 
if no group name is given\.
 
30
if no group name is given\&.
31
31
\fBnewgrp\fR
32
 
also tries to add the group to the user groupset\. If not root, the user will be prompted for a password if she does not have a password (in
 
32
also tries to add the group to the user groupset\&. If not root, the user will be prompted for a password if she does not have a password (in
33
33
\fI/etc/shadow\fR
34
34
if this user has an entry in the shadowed password file, or in
35
35
\fI/etc/passwd\fR
36
 
otherwise) and the group does, or if the user is not listed as a member and the group has a password\. The user will be denied access if the group password is empty and the user is not listed as a member\.
 
36
otherwise) and the group does, or if the user is not listed as a member and the group has a password\&. The user will be denied access if the group password is empty and the user is not listed as a member\&.
37
37
.PP
38
38
If there is an entry for this group in
39
39
\fI/etc/gshadow\fR, then the list of members and the password of this group will be taken from this file, otherwise, the entry in
40
40
\fI/etc/group\fR
41
 
is considered\.
 
41
is considered\&.
42
42
.SH "CONFIGURATION"
43
43
.PP
44
44
The following configuration variables in
45
 
\fI/etc/login\.defs\fR
 
45
\fI/etc/login\&.defs\fR
46
46
change the behavior of this tool:
47
47
.PP
48
48
\fBSYSLOG_SG_ENAB\fR (boolean)
49
49
.RS 4
50
50
Enable "syslog" logging of
51
51
\fBsg\fR
52
 
activity\.
 
52
activity\&.
53
53
.RE
54
54
.SH "FILER"
55
55
.PP
56
56
\fI/etc/passwd\fR
57
57
.RS 4
58
 
Användarkontoinformation\.
 
58
Användarkontoinformation\&.
59
59
.RE
60
60
.PP
61
61
\fI/etc/shadow\fR
62
62
.RS 4
63
 
Säker användarkontoinformation\.
 
63
Säker användarkontoinformation\&.
64
64
.RE
65
65
.PP
66
66
\fI/etc/group\fR
67
67
.RS 4
68
 
Gruppkontoinformation\.
 
68
Gruppkontoinformation\&.
69
69
.RE
70
70
.PP
71
71
\fI/etc/gshadow\fR
72
72
.RS 4
73
 
Säker gruppkontoinformation\.
 
73
Säker gruppkontoinformation\&.
74
74
.RE
75
75
.SH "SE OCKSÅ"
76
76
.PP
81
81
\fBsg\fR(1),
82
82
\fBgpasswd\fR(1),
83
83
\fBgroup\fR(5),
84
 
\fBgshadow\fR(5)\.
 
84
\fBgshadow\fR(5)\&.