*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> nss2svc (8)              
Title
Content
Arch
Section
 

nss2svc(8)

Contents


NAME    [Toc]    [Back]

       nss2svc,   svc2nss  -  keep  /etc/svc.conf  in  sync  with
       /etc/nsswitch.conf

SYNOPSIS    [Toc]    [Back]

       /usr/sbin/nss2svc [-I] [-N nsswitch.conf] [-S svc.conf]

       /usr/sbin/svc2nss [-I] [-N nsswitch.conf] [-S svc.conf]

OPTIONS    [Toc]    [Back]

       Do not save the previous copy of  the  target  file  as  a
       file.   Override  the  default path of /etc/nsswitch.conf.
       Override the default path of /etc/svc.conf.

OPERANDS    [Toc]    [Back]

       none.

DESCRIPTION    [Toc]    [Back]

       The /usr/sbin/nss2svc utility migrates those  portions  of
       the  /etc/nsswitch.conf file which are compatible with the
       /etc/svc.conf format into the latter file. By default  (in
       the  absence of the -I option), it saves the previous contents
 of the updated file in /etc/svc.conf.old.

       The /usr/sbin/svc2nss utility converts  entries  from  the
       /etc/svc.conf file into entries for the /etc/nsswitch.conf
       file, updating the latter file. By default (in the absence
       of  the  -I option), it saves the previous contents of the
       updated file in /etc/nsswitch.conf.old.

       For either utility, the file paths can be changed by using
       the -N and -S options.

EXIT STATUS    [Toc]    [Back]

       Success.  An error occurred.

ERRORS    [Toc]    [Back]

       The  following  error messages (or their localized equivalents)
 may be issued to standard error by these utilities.
       Shown  in  response  to an invalid command line, to remind
       the user of the proper options for  the  utility.  The  %s
       will  be  replaced  with the utility name.  Shown when the
       file from which entries are to be  converted  can  not  be
       found  or  is  not a regular file. The %s will be replaced
       with the path name for the file.  Shown when the file into
       which the converted entries are to be placed exists and is
       not a regular file. The %s will be replaced with the  path
       name  for the file.  Shown when the target file can not be
       updated by the user. The %s  will  be  replaced  with  the
       utility name.

       The  following message normally appears on standard output
       at the end of successful use of either of these utilities.
       Issued at the end of processing when the -I option was not
       used, and the target file already exists.

       Other error messages may be displayed from the  ln  or  mv
       commands.



EXAMPLES    [Toc]    [Back]

       The  following example shows the typical usage from within
       the nssetup utility.  # /usr/sbin/nss2svc -I -N  /etc/nsswitch.conf
  -S /etc/svc.conf # The following example shows
       testing to see what entries will be written by svc2nss.  #
       /usr/sbin/svc2nss  -N  test.out Saving previous ./test.out
       in  ./test.out.old  #  cat  test.out  aliases:  files  nis
       auth_prpasswd: files nis ...  services: files nis #

ENVIRONMENT VARIABLES    [Toc]    [Back]

       The  following  environment variables affect the execution
       of nss2svc: Provides a default value for the  internationalization
  variables  that  are  unset or null. If LANG is
       unset or null, the corresponding value  from  the  default
       locale  is  used. If any of the internationalization variables
 contain an invalid setting, the utility  behaves  as
       if  none  of  the variables had been defined.  If set to a
       non-empty string value, overrides the values  of  all  the
       other   internationalization  variables.   Determines  the
       locale for the format and contents of diagnostic  messages
       written  to  standard  error.   Determines the location of
       message catalogues for the processing of LC_MESSAGES.

FILES    [Toc]    [Back]

       Path to the default nsswitch file.  Path  to  the  default
       svc.conf file.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: nssetup(8)

       Files: nsswitch.conf(4), svc.conf(4)



                                                       nss2svc(8)
[ Back ]
 Similar pages
Name OS Title
nssetup Tru64 manage the /etc/nsswitch.conf file
update-modules Linux (re)generate /etc/modules.conf and /etc/chandev.conf
svcsetup Tru64 set up the svc.conf file
loader.4th FreeBSD loader.conf processing tools
setNameServers IRIX set nameserver entries in /etc/resolv.conf
pw.conf FreeBSD format of the pw.conf configuration file
verify_krb5_conf FreeBSD checks krb5.conf for obvious errors
verify_krb5_conf NetBSD checks krb5.conf for obvious errors
auth_getval FreeBSD functions for reading values from /etc/auth.conf
auth FreeBSD functions for reading values from /etc/auth.conf
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service