NIS+ --> /etc/passwd

2007-12-25 8:40:00

This mail list sure is great. I leave at 10PM, having just asked

my question, and the next morning when I get in there are 6 answers

waiting for me.

Original question:

I'm looking for a way to programmatically take the information in the

NIS+ passwd.org_dir table and put it *back* in /etc/passwd and /etc/shadow.

Four responders all said basically the same thing:

nisaddent -d passwd >> /etc/passwd

nisaddent -d shadow >> /etc/shadow

I tried it, and, no surprise, it works perfectly.

Thanks to:

jason@pest.ctpm.uq.oz.au

jrd@ebt.com

janderso%pgn138fs@serling.motown.ge.com

David.Miner@East.Sun.COM

wib@cs.uni-kiel.de

reggie@puma.rentec.com

Comments

Got something to say?

You must be logged in to post a comment.