LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-17-2005, 11:55 AM   #1
mackdav
Member
 
Registered: Feb 2005
Distribution: RHEL, CentOS
Posts: 113

Rep: Reputation: 16
Can Webmin update NIS maps?


We have a customer using Webmin on RHEL 3 systems. When they add or update a user account, the changes are reflected in the system's /etc/passwd, /etc/shadow (etc) files. The problem is that these files are the source files for NIS, and the NIS databases are not updated until root logs into the system and does

# cd /var/yp ; make

Webmin is running on the NIS master.

Is there a way to tell Webmin to update the NIS maps after a change to the source files?
 
Old 08-17-2005, 01:32 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Location: /illinois/chicago
Distribution: Slackware/Gentoo/FC/RHEL
Posts: 568

Rep: Reputation: 30
I do not believe that RHEL3 Webmin can admin NIS.
However, I think 4 can.
I'll have to check (why do I always get stuck on the oddball questions? - lol)

Were I you, I would write a script that runs via cron every 2-5 minutes, that diffs a known good passwd, shadow, and group file, and if a diff is found, replace the known good with the new ones, and then run yellow pages make.

diff'ing the files for the comparision every 2 mins or so should transparent from a performance standpoint

Last edited by PenguinPwrdBox; 08-17-2005 at 01:33 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Start/stop/update scripts do not work over webmin. Terroth Linux - General 3 02-23-2006 11:46 PM
SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working fishsponge Linux - Networking 0 11-29-2005 07:43 AM
howto update webmin by debian sarge stable ? cccc Debian 2 10-14-2005 03:31 PM
Problem with webmin after update carlosruiz Linux - Software 0 03-22-2004 10:46 PM
Webmin doesn't work after update Mikessu Debian 1 02-08-2004 11:22 AM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration