EnglishFrenchSpanish

OnWorks favicon

newgrp - Online in the Cloud

Run newgrp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command newgrp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


newgrp - log in to a new group

SYNOPSIS


newgrp [-] [group]

DESCRIPTION


The newgrp command is used to change the current group ID during a login session. If the
optional - flag is given, the user's environment will be reinitialized as though the user
had logged in, otherwise the current environment, including current working directory,
remains unchanged.

newgrp changes the current real group ID to the named group, or to the default group
listed in /etc/passwd if no group name is given. newgrp also tries to add the group to
the user groupset. If not root, the user will be prompted for a password if she does not
have a password (in /etc/shadow if this user has an entry in the shadowed password file,
or in /etc/passwd otherwise) and the group does, or if the user is not listed as a member
and the group has a password. The user will be denied access if the group password is
empty and the user is not listed as a member.

If there is an entry for this group in /etc/gshadow, then the list of members and the
password of this group will be taken from this file, otherwise, the entry in /etc/group is
considered.

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.

Use newgrp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 2
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 3
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 4
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • 5
    Task Coach
    Task Coach
    Task Coach - Your friendly task
    manager. Task Coach is a free open
    source todo manager. It grew out of
    frustration about other programs not
    handling composite ...
    Download Task Coach
  • 6
    HyperSQL Database Engine (HSQLDB)
    HyperSQL Database Engine (HSQLDB)
    HSQLDB is a relational database engine
    written in Java, with a JDBC driver,
    conforming to ANSI SQL:2016. A small,
    fast, multithreaded engine and server
    with mem...
    Download HyperSQL Database Engine (HSQLDB)
  • More »

Linux commands

Ad