What is 'user' in /etc/nsswitch.conf file ?

Posted on 2009-04-27
Last Modified: 2013-12-27
I see below entry in nsswitch.conf file, Could someone tell me what is 'user' data type? Thanks!
bash-3.00# grep user /etc/nsswitch.conf

printers:       user files

Open in new window

Question by:beer9
    LVL 40

    Accepted Solution

    What I could understand from the links provided below, is that this is an entry that is valid only for printers in /etc/nsswitch.conf file and has to do with print client to get info about printers. Please see the link below for the nsswitch.conf file:

    Lines below quoted from the man page:

    user       Valid only for printers; implements support for ${HOME}/.printers.


        user files nis nisplus xfn

    The link below talks about printing on solaris and describe printers entry in /etc/nsswitch.conf

    please read the section "What Is a Print Client?" in the link above
    LVL 4

    Assisted Solution

    user Specifies that printer information be obtained from the ${HOME}/.printers file

    Author Closing Comment

    Thank you :-)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now