Oracle Solaris System Administration (MOSC)

MOSC Banner

How can I customize just a few entries in name-service/switch in Solaris 11?

edited Dec 22, 2011 1:50AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓
Hello,
I've been trying the new identity/networking setup procedures, specifically the DNS client.
Now that I've succeeded I need to move to NIS setup.

The problem is that I just want to add nis to certain parts of the already generated /etc/nsswitch.conf.
More specifically the passwd, group and netgroup.
Something similar to the following:
passwd:     files nis
group:      files nis
netgroup:   nis

I think I'll have to regenerate the file, but before that, how do I customize the entries in SMF?

These seem to be the "default" config.
svc:/system/name-service/switch> listprop config/*
config/default             astring     files

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center