Operating System - HP-UX
1847710 Members
5109 Online
110265 Solutions
New Discussion

update group in NIS on SUN Solaris

 
peter_323
New Member

update group in NIS on SUN Solaris

Hi all!,

I have problem.
I wont add some users to different groups.
After
more /var/yp/Makefile, I know
where is the $HOME_directory for file "group"
vi group
I add users in this file; than
/usr/ccs/bin/make group
The system give me an answer: "group is up to date".
but when I make
ypcat group |grep user_name
This user isn't added to this groups.

Where is the problem please ?
Or I must "ypstop", than "ypstart" doing?

Thankx, p.
2 REPLIES 2
Hoefnix
Honored Contributor

Re: update group in NIS on SUN Solaris

Hi,

grep ^DIR Makefile
Will give the source directory. Edit the group file in this directory and run the make command from the /var/yp directory.

HTH,
Peter
peter_323
New Member

Re: update group in NIS on SUN Solaris

Hi Peter G.

Thank you!, it's run now correctly
group was updated

Have a nice Day, p.b.