www.LinuxHowtos.org
SG
Section: User Commands (1)Updated: 05/17/2017
Index Return to Main Contents
NAME
sg - execute command as different group IDSYNOPSIS
- sg [-] [group [-c ] command]
DESCRIPTION
CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool:
SYSLOG_SG_ENAB (boolean)
- Enable "syslog" logging of sg activity.
FILES
/etc/passwd
- User account information.
/etc/shadow
- Secure user account information.
/etc/group
- Group account information.
/etc/gshadow
- Secure group account information.
SEE ALSO
id(1), login(1), newgrp(1), su(1), gpasswd(1), group(5), gshadow(5).