shadow/man/sv/sg.1

62 lines
1.4 KiB
Groff

.\" Title: sg
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
.\" Date: 20.07.2006
.\" Manual: Användarkommandon
.\" Source: Användarkommandon
.\"
.TH "SG" "1" "20\-07\-2006" "Användarkommandon" "Användarkommandon"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAMN"
sg \- kör kommando med annat grupp\-id
.SH "SYNOPSIS"
.HP 3
\fBsg\fR [\-] [grupp\ [\-c]\ kommando]
.SH "BESKRIVNING"
.PP
The
\fBsg\fR
command works similar to
\fBnewgrp\fR
but accepts a command. The command will be executed with the
\fI/bin/sh\fR
shell. With most shells you may run
\fBsg\fR
from, you need to enclose multi\-word commands in quotes. Another difference between
\fBnewgrp\fR
and
\fBsg\fR
is that some shells treat
\fBnewgrp\fR
specially, replacing themselves with a new instance of a shell that
\fBnewgrp\fR
creates. This doesn't happen with
\fBsg\fR, so upon exit from a
\fBsg\fR
command you are returned to your previous group ID.
.SH "FILER"
.TP 3n
\fI/etc/passwd\fR
Användarkontoinformation.
.TP 3n
\fI/etc/shadow\fR
Säker användarkontoinformation.
.TP 3n
\fI/etc/group\fR
Gruppkontoinformation.
.TP 3n
\fI/etc/gshadow\fR
Säker gruppkontoinformation.
.SH "SE OCKSÅ"
.PP
\fBid\fR(1),
\fBlogin\fR(1),
\fBnewgrp\fR(1),
\fBsu\fR(1),
\fBgpasswd\fR(1),
\fBgroup\fR(5),
\fBgshadow\fR(5)