diff options
Diffstat (limited to 'man/sv/man1/sg.1')
-rw-r--r-- | man/sv/man1/sg.1 | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/man/sv/man1/sg.1 b/man/sv/man1/sg.1 new file mode 100644 index 0000000..f8ad8d2 --- /dev/null +++ b/man/sv/man1/sg.1 @@ -0,0 +1,90 @@ +'\" t +.\" Title: sg +.\" Author: Julianne Frances Haugh +.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> +.\" Date: 08-11-2022 +.\" Manual: Anv\(:andarkommandon +.\" Source: shadow-utils 4.13 +.\" Language: Swedish +.\" +.TH "SG" "1" "08-11-2022" "shadow\-utils 4\&.13" "Anv\(:andarkommandon" +.\" ----------------------------------------------------------------- +.\" * 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 "NAMN" +sg \- k\(:or kommando med annat grupp\-id +.SH "SYNOPSIS" +.HP \w'\fBsg\fR\ 'u +\fBsg\fR [\-] [group\ [\-c\ ]\ command] +.SH "BESKRIVNING" +.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 "CONFIGURATION" +.PP +The following configuration variables in +/etc/login\&.defs +change the behavior of this tool: +.SH "FILER" +.PP +/etc/passwd +.RS 4 +Anv\(:andarkontoinformation\&. +.RE +.PP +/etc/shadow +.RS 4 +S\(:aker anv\(:andarkontoinformation\&. +.RE +.PP +/etc/group +.RS 4 +Gruppkontoinformation\&. +.RE +.PP +/etc/gshadow +.RS 4 +S\(:aker gruppkontoinformation\&. +.RE +.SH "SE OCKS\(oA" +.PP +\fBid\fR(1), +\fBlogin\fR(1), +\fBnewgrp\fR(1), +\fBsu\fR(1), +\fBgpasswd\fR(1), +\fBgroup\fR(5), \fBgshadow\fR(5)\&. |