IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > nischmod man page

nischmod man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                         nischmod(1)



NAME
     nischmod - change access rights on a NIS+ object

SYNOPSIS
     nischmod [-AfLP] mode name...

DESCRIPTION
     nischmod changes  the  access  rights  (mode)  of  the  NIS+
     objects  or  entries specified by  name to mode. Entries are
     specified using indexed names (see nismatch(1)). Only  prin-
     cipals with modify access to an object may change its mode.

     mode has the following form:

          rights [, rights]...


     rights has the form:


     [ who ] op permission [ op permission ]...


     who is a combination of:

     n        Nobody's permissions.



     o        Owner's permissions.



     g        Group's permissions.



     w        World's permissions.



     a        All, or  owg.

              If  who is omitted, the default is  a.



     op is one of:

     +               To grant the  permission.





SunOS 5.10           Last change: 2 Dec 2005                    1






User Commands                                         nischmod(1)



     -               To revoke the  permission.



     =               To set the permissions explicitly.



     permission is any combination of:

     r        Read.



     m        Modify.



     c        Create.



     d        Destroy.



     Unlike the system chmod(1) command, this  command  does  not
     accept an octal notation.

OPTIONS
     The following options are supported:

     -A       Modify all entries in all tables in the  concatena-
              tion  path that match the search criteria specified
              in name. This option implies the -P switch.



     -f       Force the operation and fail silently  if  it  does
              not succeed.



     -L       Follow links  and  change  the  permission  of  the
              linked object or entries rather than the permission
              of the link itself.



     -P       Follow the concatenation path within a named table.
              This  option is only applicable when either name is
              an indexed name or the -L switch is also  specified



SunOS 5.10           Last change: 2 Dec 2005                    2






User Commands                                         nischmod(1)



              and  the  named  object  is  a  link pointing to an
              entry.



EXAMPLES
     Example 1: Using the nischmod Command

     This example gives everyone read access to an object.  (that
     is, access for owner, group, and all).

     example% nischmod a+r object

     This example denies create and modify privileges  to   group
     and unauthenticated clients (nobody).

     example% nischmod gn-cm object

     In this example, a complex set of permissions are set for an
     object.

     example% nischmod o=rmcd,g=rm,w=rc,n=r object

     This example sets the permissions of an entry in  the  pass-
     word table so that the group owner can modify them.

     example% nischmod g+m '[uid=55],passwd.org_dir'

     The next example changes the permissions of a linked object.

     example% nischmod -L w+mr linkname

ENVIRONMENT VARIABLES
     NIS_PATH                        If this variable is set, and
                                     the  NIS+  name is not fully
                                     qualified,  each   directory
                                     specified  will  be searched
                                     until the  object  is  found
                                     (see  nisdefaults(1)).



EXIT STATUS
     The following exit values are returned:

     0        Successful operation.



     1        Operation failed.





SunOS 5.10           Last change: 2 Dec 2005                    3






User Commands                                         nischmod(1)



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWnisu                    |
    |_____________________________|_____________________________|


SEE ALSO
     chmod(1), nis+(1), nischgrp(1), nischown(1), nisdefaults(1),
     nismatch(1), nis_objects(3NSL), attributes(5)

NOTES
     NIS+ might not  be  supported  in  future  releases  of  the
     Solaris  operating  system.  Tools to aid the migration from
     NIS+ to LDAP are available in the current  Solaris  release.
     For            more            information,            visit
     http://www.sun.com/directory/nisplus/transition.html.


































SunOS 5.10           Last change: 2 Dec 2005                    4





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:25:08 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5332 hits)
(openSUSE 10.2)

svn man page (5208 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4870 hits)
(Solaris 10 11_06)

CPAN man page (4607 hits)
(Suse Linux 10.1)

ssh man page (4342 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2874 hits)
(Solaris 10 11_06)

netcat man page (2717 hits)
(Suse Linux 10.1)

pprosetup man page (2487 hits)
(Solaris 10 11_06)

startproc man page (2471 hits)
(Suse Linux 10.1)

signal man page (2405 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Location :: Prototype Electronic Assembly :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum