EnglishFrenchSpanish

Ad


OnWorks favicon

innetgr - Online in the Cloud

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

This is the command innetgr 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


innetgr - Check netgroup membership

SYNTAX


innetgr [-d domain] [-h host] [-u user] [-v] <netgroup>

DESCRIPTION


innetgr checks if the specified user, host or domain is a member of the given netgroup.
The program does not produce any output unless the verbose ( -v ) flag is given.

The exit status is 0 if the user/host/doman combination is a member of the given netgroup.
Exit status is 1 if the combination is not found in the group, and 2 if one of the
arguments are invalid.

OPTIONS


--domain <domain> | -d <domain>
Search in the given domain.

--host <host name> | -h <host name>
Search for the given host name.

--user <user name> | -u <user name>
Search for the given user name.

--verbose | -v
Enable verbose mode

--version | -V
Show version information.

EXAMPLES


To check if the current host is listed in the netgroup allhosts, use this command line:

if innetgr -h `uname -n` allhosts ; then echo "Found"; fi

CONFORMING TO


A innetgr program first appeared in NetBSD 1.4.

AUTHORS


Petter Reinholdtsen <[email protected]>

Use innetgr online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Firebird
    Firebird
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 2
    KompoZer
    KompoZer
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 3
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 4
    UNetbootin
    UNetbootin
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 5
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    foundations...
    Download Dolibarr ERP - CRM
  • 6
    SQuirreL SQL Client
    SQuirreL SQL Client
    SQuirreL SQL Client is a graphical SQL
    client written in Java that will allow
    you to view the structure of a JDBC
    compliant database, browse the data in
    tables...
    Download SQuirreL SQL Client
  • More »

Linux commands

Ad