Operating System - HP-UX
1833764 Members
2886 Online
110063 Solutions
New Discussion

user to not export with NIS

 
Roberto Volsa
Frequent Advisor

user to not export with NIS

Hi,
i need to configure locally a user on a server which is also a NIS server (for users); but my need is to not export also this last user.
Any info?

regards,
RV
2 REPLIES 2
Sunil Sharma_1
Honored Contributor

Re: user to not export with NIS

RV,

Create a local user and don't include this user in map.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Peter Nikitka
Honored Contributor

Re: user to not export with NIS

Hi,

if your server is not only a NIS-server but the NIS-master AND you use its /etc/passwd for generating the map, you'll have to sort out this user when creating the map:

awk -F: -v ignore=userx '$1 != ignore' /etc/passwd | ...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"