File: newgrp.1

package info (click to toggle)
manpages-hu 20010119-6
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 2,272 kB
  • ctags: 2
  • sloc: makefile: 56; lisp: 56
file content (89 lines) | stat: -rw-r--r-- 3,551 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.\" Copyright 1991, Julianne Frances Haugh
.\" Hungarian translation by Peter Mamuzsics <zumu@mentha.hu>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 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.
.\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH 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
.\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"	$Id: newgrp.1,v 1.4 1998/12/28 20:35:16 marekm Exp $
.\"
.TH NEWGRP 1
.SH NV
newgrp \- Csoportazonost mdostsa
.br
sg \- Parancs vgrehajtsa ms csoportazonot alatt
.SH TTEKINTS
.BR newgrp " [" - ]
[\fIgroup\fR]
.br
.BR sg " [" - ]
[\fIgroup\fR [\fB-c\fR \fIcommand\fR]]
.SH LERS
A
.B newgrp
parancs a jelenlegi bejelentkezshez tartoz csoportazonost
mdostsra hasznlhat.  Ha a parancsot az elhagyhat \fB\-\fR
kapcsolval hvtuk meg, akkor a rendszer gy inicializlja jra
a felhasznli krnyezetet, ahogy az a bejelelentkezs sorn 
megtrtnik, ellenkez esetben a jelenlegi krnyezet - belertve
az aktulis munkaknyvtrat is - vltozatlan marad.
.PP
A
.B newgrp
parancs lecserli az aktulis csoportazonostt a megnevezett
vagy - ha nincs megadva - az \fI/etc/passwd\fR fjlban megadott
alaprtelmezett csoportra.  Ha a felhasznl nem rendelkezik jelszval,
de a csoport igen, vagy a felhasznl nem tagja a csoportnak,
de a csoport rendelkezik jelszval, akkor a rendszer bekri a csoport
jelszavt.
Amennyiben a csoportnak nincs jelszava, s a felhasznl nem tagja a 
csoportnak, akkor a hozzfrs nem lehetsges.
.PP
Az
.B sg
parancs mkdse hasonl a \fBnewgrp\fR parancs mkdshez,
de ez nem cserli le a felhasznl parancsrtelmezjt, gy
amikor kilpnk az \fBsg\fR parancsbl, visszakapjuk az 
eredeti csoportazonostt.
Az
.B sg
parancsnak egy msik, aposztrfok kz zrt parancsot is meg lehet
adni, amely a Bourne parancsrtelmezvel kerl vgrehajtsra.
.SH HIBK
A \fBnewgrp\fR tbbfle fordtsi belltssal rendelkezik,
amelyeknek egy adott felhasznlsi krnyezetben csak egy rszre
lehet szksg.
.SH FJLOK
/etc/passwd \- felhasznli informcik
.br
/etc/group \- csoportinfomcik
.SH LSD MG
.BR login (1),
.BR id (1),
.BR su (1)
.SH SZERZ
Julianne Frances Haugh (jfh@bga.com)
.br
.SH MAGYAR FORDTS
Mamuzsics Pter <zumu@mentha.hu>