02-18-2008
What do you have in /etc/hosts? and in /etc/nsswitch.conf?
In order to work without NIS you would have to have is IP and name in /etc/hosts and in /etc/nsswitch.conf:
something like:
passwd: files
group: files
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
services: files
networks: files
protocols: files
instead of:
hosts: nis [NOTFOUND=return] files
Then in /etc/inittab set the default level at 2
And give it a try...
Good luck
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do you or what is the setup to keep the (server) up from shutting down? It is not server yet but it might very likely become to serve few clients. But, once I get in in the morning its off. It's Sparc, Solaris 8 and I would like to keep it running over night but once it is not attended it... (2 Replies)
Discussion started by: softarch
2 Replies
2. UNIX for Dummies Questions & Answers
Just saw this OEM abbreviation during installation of Solaris 8.
I'm curious to know what the letters stand for and what OEM actually is. (3 Replies)
Discussion started by: Kanu77
3 Replies
3. Shell Programming and Scripting
Hi all,
I am working on following script which is already working and i am trying to understand but could not can any body help me in follwoing script.
I understand that it deletes record from tables. using DB2 import from /dev/null. I dont know where in second portion it loads the data in to... (0 Replies)
Discussion started by: sam71
0 Replies
4. HP-UX
Could you pls give a solution how to resotore the backup taken from digital unix using vdump to hp ux11i. (1 Reply)
Discussion started by: jestinabel
1 Replies
5. Programming
#include <stdio.h>
main(t,_,a)
char *a;
{return!0<t?t<3?main(-79,-13,a+main(-87,1-_,
main(-86, 0, a+1 )+a)):1,t<_?main(t+1, _, a ):3,main ( -94, -27+t, a
)&&t == 2 ?_<13 ?main ( 2, _+1, "%s %d %d\n" ):9:16:t<0?t<-72?main(_,... (4 Replies)
Discussion started by: brain_full
4 Replies
6. IP Networking
as title. and how is it different from PF_INET ?
also, any one knows sin_family , sin_port , sin_addr ..etc ? why are they called 'sin' ?
finally, htons() host to network short , htonl() host to network long , ntohs() network to host short , ntohl() network to host long. why would... (6 Replies)
Discussion started by: trapeze
6 Replies
7. HP-UX
does anyone know if it's possible to connect an HP-UX 11i machine to the Internet (via cable ISP) or at least network it to an XP Pro machine via wireless Linksys broadband router(but still using CAT5 cable)? If so how?
Cheers. (2 Replies)
Discussion started by: Milford_Man
2 Replies
8. Shell Programming and Scripting
Hi all,
During reading the code, i met such expressment in a KSH script. I can not figure out what does this mean and don't know how to search it in the web. Could you please check below snippet and let me know what does this mean in a shell script:
VARIABLE=1
if ; then
.... (3 Replies)
Discussion started by: sleepy_11
3 Replies
9. Shell Programming and Scripting
What does - z and {} means
if ; then
echo "ERROR: \$ARBORDBU environment variable is not set\n" (8 Replies)
Discussion started by: rafa_fed2
8 Replies
10. IP Networking
**this was posted in another forum I suspect wrong one moved here **:confused:
Hello all. Let me qualify my question by saying that I am struggling with how to ask the question I am semi green but have no issue reading up if pointed in the right direction. Please be gentle!
A RHEL server 6.2.... (4 Replies)
Discussion started by: rsheikh01
4 Replies
LEARN ABOUT HPUX
nss-systemd
NSS-SYSTEMD(8) nss-systemd NSS-SYSTEMD(8)
NAME
nss-systemd, libnss_systemd.so.2 - Provide UNIX user and group name resolution for dynamic users and groups.
SYNOPSIS
libnss_systemd.so.2
DESCRIPTION
nss-systemd is a plug-in module for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc), providing UNIX user and
group name resolution for dynamic users and groups allocated through the DynamicUser= option in systemd unit files. See systemd.exec(5) for
details on this option.
This module also ensures that the root and nobody users and groups (i.e. the users/groups with the UIDs/GIDs 0 and 65534) remain resolvable
at all times, even if they aren't listed in /etc/passwd or /etc/group, or if these files are missing.
To activate the NSS module, add "systemd" to the lines starting with "passwd:" and "group:" in /etc/nsswitch.conf.
It is recommended to place "systemd" after the "files" or "compat" entry of the /etc/nsswitch.conf lines so that /etc/passwd and /etc/group
based mappings take precedence.
EXAMPLE
Here is an example /etc/nsswitch.conf file that enables nss-systemd correctly:
passwd: compat mymachines systemd
group: compat mymachines systemd
shadow: compat
hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
SEE ALSO
systemd(1), systemd.exec(5), nss-resolve(8), nss-myhostname(8), nss-mymachines(8), nsswitch.conf(5), getent(1)
systemd 237 NSS-SYSTEMD(8)