Link to USGS home
Surface Water Information--Data Scripts

nwgroups

Name:
nwgroups - An admin utility to summarize the NWIS/Ingres access rights of a user

Information:

Access to NWIS software and database is controlled through a series of Unix groups and Oracle privileges. For example, many ADAPS programs require the user to be in the 'nwaw' group to write to portions of the NWIS database associated with ADAPS. Basic rights to the database through the NWIS software is provided by membership in the Unix group and NWIS access table "nwuser." The script is currently unable to report on assigned Oracle privileges due to technical issues and database access issues.

This utility shows all entries for a user_id in the NWIS ACCESS tables.

For more information on NWIS and Ingres access groups, see the NWIS Security manual.

Usage: nwgroups {userid}

Example output:

nwgroups jnielsen

USER jnielsen IS IN NWIS ACCESS TABLES: 

nwas    jnielsen
nwdba   jnielsen
nwuser  jnielsen

AND 'nw*' UNIX GROUPS:

nwuser
nwas
nwdba
nwdecedl
nwdecall
nwweb

Script Language:
ksh

Requirements:

Original Author(s): Joel JOhnson, California WSC and Scott Bartholoma, NWIS

Note the original author is noted on this page for the purposes of giving credit only. Please address questions/comments to OSW (GS-W OSW Scripts@usgs.gov).

Installation:
This script is part of the OSW Scripts Installation package and should be installed as part of that package. Users needing the script outside of the package should send email to GS-W OSW Scripts@usgs.gov.

NWIS 5.00 OSW Scripts package installation instructions:
http://water.usgs.gov/usgs/osw/adaps/OSW_scripts_pkg.5.00.html

Latest Version and Release Notes:

Version 5.00: Included as part of OSW Scripts package for NWIS 5.00+
—updated for NWIS 5.00+ releases (not compatible with NWIS 4.11 or prior)

Back to Scripts
[an error occurred while processing this directive]