Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!news-feed.inet.tele.dk!arclight.uoregon.edu!feed1.news.erols.com!howland.erols.net!newsfeed.internetmci.com!katbert.ipa.net!keyhole.west.spy.net!bleu.west.spy.net!dustin From: dustin@bleu.west.spy.net. (Dustin Sallings) Newsgroups: comp.unix.bsd.netbsd.misc Subject: Re: Why no addusr? Date: 9 Jan 1997 05:00:33 GMT Organization: Silicon Graphics, Inc. Mountain View, CA Lines: 34 Distribution: world Message-ID: <5b1u1h$spl@keyhole.west.spy.net> References: <none-ya023480001912962244220001@news.infi.net> <mason-ya023380002012960019340001@news.four.net> <none-ya023480002012962112290001@news.infi.net> <x7zpz8wnxt.fsf@dumbcat.codewright.com> <3a13e94547@emw4maba.slip.gp.fht-esslingen.de> <none-ya023480000201971953550001@news.infi.net> <5aqnum$maq@innocence.interface-business.de> <5b1d03$76@xciv.demon.co.uk> <none-ya023480000801972255110001@news.infi.net> NNTP-Posting-Host: bleu.west.spy.net Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5130 > Mr. Civati, I believe that you may have come up with a capital idea. Do > you have the resources/knowledge/initiative/time to undertake such a > project? > > BTW: Is it just me, or does this newsgroup seem to be a "put your money > where your mouth is" kind of thing, not that I really mean to sound that > way. I'll have to agree with you on that one, it goes back to all of those ``Why don't you bastards get off your ass and make this thing as easy to use as Irix or Windows?'' I can't think about how many times I heard the word ``intuitive'' before I got out of Linux altogether. I thought (and was correct for the most part), that Net might soothe a lot of that pain because you'd have to have at least a fractional clue to install it in the first place. It's *really* easy to write an adduser command. Get your input somehow, find the next available uid, construct something looking like an entry in /etc/master.passwd, and either write it yourself or call chpass. chpass is so beautiful, it even handles all the locking and all that for you, then rehashes the databases. My whole adduser is just a little over 24 lines in perl (partially scrolled off the screen). About 1/3 of that is extra spaces. I designed it to read in a file and add them batchwise. If vipw scares you, and you're just fiending to add a user, then I can write and post a simple perl adduser thing. -- IPA.net Sysadmin My girlfriend asked me which one I like better. pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net> | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE L_______________________ I hope the answer won't upset her. ____________