Results 1 to 4 of 4
I have just been tasked to retire our primary NIS server and completely go away from NIS altogether. How can I convert the old NIS user accounts to local accounts? ...
- 10-22-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 2
NIS accounts
I have just been tasked to retire our primary NIS server and completely go away from NIS altogether. How can I convert the old NIS user accounts to local accounts? Is this even possible? Our NIS server currently supports about 9 client servers and about 100 users on each of them. I would like to convert the NIS users to local users.
Thanks in advance.
- 10-22-2008 #2
Move to local users? Surely this would bring with it enormous admin headaches. If it's what you want to do, then you could write a small bash script to tear apart the NIS files (they're only text based) and insert them into the user tables (/etc/shadow, /etc/passwd and /etc/group).
You may find it easier to move to a better centralised store, like an LDAP database. You can implement those quite easily with tools like Fedora Directory Server.Linux user #126863 - see http://linuxcounter.net/
- 10-22-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 2
Thanks for the info! We are getting ready to implement LDAP. We didn't know if or how it would work with NIS accounts. That's why we wanted to retire the NIS server. Our thoughts were, if we were to change them to local accounts then LDAP could easily be applied then.
- 10-22-2008 #4
It depends how you do the migrate, but I'd have thought it would have been easier to to pipe the output of 'ypcat' to some kind of bash script that output user details to a text file that can be read in by your chosen LDAP solution.
Linux user #126863 - see http://linuxcounter.net/


Reply With Quote