1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
.\" @(#)$RCSfile: nslistgrpmap.man,v $ $Revision: 1.1 $ $Date: 2007/12/13 06:15:14 $ CERN IT-GD/ITR Jean-Philippe Baud
.\" Copyright (C) 2007 by CERN/IT/GD/ITR
.\" All rights reserved
.\"
.TH NSLISTGRPMAP 1 "$Date: 2007/12/13 06:15:14 $" CASTOR "Cns Administrator Commands"
.SH NAME
nslistgrpmap \- query about a given group or list all existing groups in virtual gid table
.SH SYNOPSIS
.B nslistgrpmap
[
.BI --gid " gid"
] [
.BI --group " groupname"
]
.SH DESCRIPTION
.B nslistgrpmap
queries about a given group or lists all existing groups in virtual gid table.
.LP
This function requires ADMIN privilege.
.SH OPTIONS
.TP
.BI --gid " gid"
specifies the Virtual Group Id.
.TP
.BI --group " groupname"
specifies the group name.
.SH EXAMPLES
.nf
.ft CW
nslistgrpmap --gid 2688
2688 dteam
.sp
nslistgrpmap --group dteam
2688 dteam
.sp
nslistgrpmap
2688 dteam
2689 ops
.ft
.fi
.SH EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation
failed.
.SH SEE ALSO
.BR Castor_limits(4) ,
.BR Cns_getgrpbynam(3) ,
.B Cns_getgrpbygid(3)
|