90 lines
2.7 KiB
Groff
90 lines
2.7 KiB
Groff
'\" t
|
||
.\" Title: sg
|
||
.\" Author: Julianne Frances Haugh
|
||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
||
.\" Date: 19/03/2025
|
||
.\" Manual: User Commands
|
||
.\" Source: shadow-utils 4.17.4
|
||
.\" Language: Ukrainian
|
||
.\"
|
||
.TH "sg" "1" "19/03/2025" "shadow\-utils 4\&.17\&.4" "User Commands"
|
||
.\" -----------------------------------------------------------------
|
||
.\" * 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 "НАЗВА"
|
||
sg \- виконання команди від імені іншого ідентифікатора групи
|
||
.SH "КОРОТКИЙ ОГЛЯД"
|
||
.HP \w'\fBsg\fR\ 'u
|
||
\fBsg\fR [\-] [group\ [\-c\ ]\ command]
|
||
.SH "ОПИС"
|
||
.PP
|
||
The
|
||
\fBsg\fR
|
||
command works similar to
|
||
\fBnewgrp\fR
|
||
but accepts a command\&. The command will be executed with the
|
||
/bin/sh
|
||
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\*(Aqt happen with
|
||
\fBsg\fR, so upon exit from a
|
||
\fBsg\fR
|
||
command you are returned to your previous group ID\&.
|
||
.SH "НАЛАШТУВАННЯ"
|
||
.PP
|
||
The following configuration variables in
|
||
/etc/login\&.defs
|
||
change the behavior of this tool:
|
||
.SH "ФАЙЛИ"
|
||
.PP
|
||
/etc/passwd
|
||
.RS 4
|
||
Відомості щодо облікових записів користувача\&.
|
||
.RE
|
||
.PP
|
||
/etc/shadow
|
||
.RS 4
|
||
Відомості щодо захищених облікових записів користувачів\&.
|
||
.RE
|
||
.PP
|
||
/etc/group
|
||
.RS 4
|
||
Відомості щодо груп облікових записів\&.
|
||
.RE
|
||
.PP
|
||
/etc/gshadow
|
||
.RS 4
|
||
Відомості щодо захищених груп облікових записів\&.
|
||
.RE
|
||
.SH "ДИВ\&. ТАКОЖ"
|
||
.PP
|
||
\fBid\fR(1),
|
||
\fBlogin\fR(1),
|
||
\fBnewgrp\fR(1),
|
||
\fBsu\fR(1),
|
||
\fBgpasswd\fR(1),
|
||
\fBgroup\fR(5), \fBgshadow\fR(5)\&.
|