<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">'\" t
.\"     Title: sg
.\"    Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 &lt;http://docbook.sf.net/&gt;
.\"      Date: 07/27/2018
.\"    Manual: Polecenia uÅ¼ytkownik\('ow
.\"    Source: shadow-utils 4.5
.\"  Language: Polish
.\"
.TH "SG" "1" "07/27/2018" "shadow\-utils 4\&amp;.5" "Polecenia uÅ¼ytkownik\('ow"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAZWA"
sg \- execute command as different group ID
.SH "STRESZCZENIE"
.HP \w'\fBsg\fR\ 'u
\fBsg\fR [\-] [group\ [\-c]\ command]
.SH "OPIS"
.PP
The
\fBsg\fR
command works similar to
\fBnewgrp\fR
but accepts a command\&amp;. The command will be executed with the
/bin/sh
shell\&amp;. With most shells you may run
\fBsg\fR
from, you need to enclose multi\-word commands in quotes\&amp;. 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\&amp;. This doesn\*(Aqt happen with
\fBsg\fR, so upon exit from a
\fBsg\fR
command you are returned to your previous group ID\&amp;.
.SH "CONFIGURATION"
.PP
The following configuration variables in
/etc/login\&amp;.defs
change the behavior of this tool:
.PP
\fBSYSLOG_SG_ENAB\fR (boolean)
.RS 4
Enable "syslog" logging of
\fBsg\fR
activity\&amp;.
.RE
.SH "PLIKI"
.PP
/etc/passwd
.RS 4
Informacja o kontach uÅ¼ytkownik\('ow\&amp;.
.RE
.PP
/etc/shadow
.RS 4
Informacje chronione o uÅ¼ytkownikach\&amp;.
.RE
.PP
/etc/group
.RS 4
Informacje o grupach uÅ¼ytkownik\('ow\&amp;.
.RE
.PP
/etc/gshadow
.RS 4
Informacje chronione o grupach uÅ¼ytkownik\('ow\&amp;.
.RE
.SH "ZOBACZ TAKÅ»E"
.PP
\fBid\fR(1),
\fBlogin\fR(1),
\fBnewgrp\fR(1),
\fBsu\fR(1),
\fBgpasswd\fR(1),
\fBgroup\fR(5), \fBgshadow\fR(5)\&amp;.
</pre></body></html>