From owner-freebsd-questions@FreeBSD.ORG Sun Jul 18 12:27:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E90A716A4CE for ; Sun, 18 Jul 2004 12:27:10 +0000 (GMT) Received: from ptb-relay01.plus.net (ptb-relay01.plus.net [212.159.14.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A3B43D1F for ; Sun, 18 Jul 2004 12:27:09 +0000 (GMT) (envelope-from terry@mrtux.co.uk) Received: from [80.229.144.50] (helo=mrtux.co.uk) by ptb-relay01.plus.net with esmtp (Exim) id 1BmAl1-0009FF-VK for freebsd-questions@freebsd.org; Sun, 18 Jul 2004 12:27:08 +0000 Received: from localhost (localhost.mrtux.co.uk [127.0.0.1]) by mrtux.co.uk (Postfix) with ESMTP id 5CC7F82C for ; Sun, 18 Jul 2004 13:28:52 +0100 (BST) Received: from mrtux.co.uk ([127.0.0.1]) by localhost (tape.mrtux.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51669-06 for ; Sun, 18 Jul 2004 13:28:50 +0100 (BST) Received: from [192.168.2.138] (games [192.168.2.138]) by mrtux.co.uk (Postfix) with ESMTP id 978D5752 for ; Sun, 18 Jul 2004 13:28:50 +0100 (BST) Message-ID: <40FA6C9D.2020805@mrtux.co.uk> Date: Sun, 18 Jul 2004 13:27:09 +0100 From: Terry User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20040718120105.C5AFF16A4DC@hub.freebsd.org> In-Reply-To: <20040718120105.C5AFF16A4DC@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mrtux.co.uk Subject: Adduser script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: terry@mrtux.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 12:27:11 -0000 freebsd-questions-request@freebsd.org wrote: >Send freebsd-questions mailing list submissions to > freebsd-questions@freebsd.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >or, via email, send a message with subject or body 'help' to > freebsd-questions-request@freebsd.org > >You can reach the person managing the list at > freebsd-questions-owner@freebsd.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of freebsd-questions digest..." > > >Today's Topics: > > 1. Re: buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==>make: > don't know how to make getopt.c (epilogue) > 2. DOH!!!!! RELENG_4_10! ... That'd make a difference! (was: Re: > buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==>make: don't > knowhow to make getopt.c) (Lane Holcombe) > 3. Re: Root fs full -> free space always below 0 (uidzero) > 4. Device Driver - before I start (Richard Kaestner) > 5. Re: upgrading form 4.2 to 5.x (epilogue) > 6. Re: upgrading form 4.2 to 5.x (Kevin Oberman) > 7. Re: First time CUPS user, config problems? (Henrik W Lund) > 8. Re: Device Driver - before I start (Henrik W Lund) > 9. postfix, smtp-auth, Cyrus SASL for relay restriction > troubles. (Tim Schutt) > 10. Re: hi res logo ? (Harald Schmalzbauer) > 11. Re: hi res logo ? (Harald Schmalzbauer) > 12. Re: postfix, smtp-auth, Cyrus SASL for relay restriction > troubles. (Josh Paetzel) > 13. Re: "sanitizing" disks: wiping swap, non-allocated space, and > file-tails (David Kreil) > 14. Re: Replacing hd (Benjamin Sobotta) > 15. Re: First time CUPS user, config problems? (Bill Schoolcraft) > 16. Re: postfix, smtp-auth, Cyrus SASL for relay restriction > troubles. (Paul Schmehl) > 17. Sendmail to Postfix/courier-imap (Chris) > 18. Re: Sendmail to Postfix/courier-imap (Paul Schmehl) > 19. runing FreeBSD on WinXP using free PC virtualization software > (ashadul hoque) > 20. O/S question I guess (jason) > 21. Re: O/S question I guess (Richard Marriner) > 22. Re: runing FreeBSD on WinXP using free PC virtualization > software (Aaron Myles Landwehr) > 23. The FreeBSD Diary: 2004-06-27 - 2004-07-17 (Dan Langille) > 24. FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2 (freebsder) > 25. Re: .qmail, autorespond config for naive end-users (Peter Risdon) > 26. more IPFW help please (Incoming Mail List) > 27. NetBSD->FreeBSD move: samba problem (Wojciech Puchar) > 28. Re: upgrading form 4.2 to 5.x (Wojciech Puchar) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Sat, 17 Jul 2004 17:17:07 -0400 >From: epilogue >Subject: Re: buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==>make: > don't know how to make getopt.c >To: "Lane Holcombe" >Cc: freebsd-questions@freebsd.org >Message-ID: <20040717171707.031a1a8e@localhost> >Content-Type: text/plain; charset=US-ASCII > >On Sat, 17 Jul 2004 15:59:32 -0500 (CDT) >"Lane Holcombe" wrote: > > > >>I'm upgrading from 4.9-RELEASE to 4.10-STABLE, but I can't get past "make >>buildworld" >> >> > >in your sup file, have you got RELENG_4 or RELENG_4_10? > > > >>I ran "make clean" from /usr/src, then cvsup'd src-all from >>cvsup3.freebsd.org and ran "make buildworld" from /usr/src but got the >>error below. >> >>So, just to make sure everything was ok, I ran "rm -rd /usr/obj" and "rm >>- rd /usr/src", cvsup'd again, but got the same error. >> >>Here's what's in /usr/src/gnu/usr.bin/gperf: >> >>drwxr-xr-x 3 root wheel 512 Jul 17 15:12 . >>drwxr-xr-x 28 root wheel 512 Jul 17 13:55 .. >>-rw-r--r-- 1 root wheel 473 Aug 9 2002 Makefile >>-rw-r--r-- 1 root wheel 724 Feb 15 2001 config.h >>drwxr-xr-x 2 root wheel 512 Jul 17 15:11 doc >> >>and /usr/src/gnu/usr.bin/gperf/doc: >> >>drwxr-xr-x 2 root wheel 512 Jul 17 15:11 . >>drwxr-xr-x 3 root wheel 512 Jul 17 15:12 .. >>-rw-r--r-- 1 root wheel 305 Feb 15 2001 Makefile >> >>and /usr/src/contrib/gperf: >> >>drwxr-xr-x 6 root wheel 512 Jul 17 15:37 . >>drwxr-xr-x 50 root wheel 1024 Jul 17 15:34 .. >>-rw-r--r-- 1 root wheel 86 Feb 15 2001 AUTHORS >>-rw-r--r-- 1 root wheel 18149 Feb 15 2001 COPYING >>-rw-r--r-- 1 root wheel 81182 Feb 15 2001 ChangeLog >>-rw-r--r-- 1 root wheel 144 Feb 16 19:51 FREEBSD-Xlist >>-rw-r--r-- 1 root wheel 7833 Feb 15 2001 INSTALL >>-rw-r--r-- 1 root wheel 2576 Jul 17 15:37 Makefile >>-rw-r--r-- 1 root wheel 1017 Feb 15 2001 Makefile.devel >>-rw-r--r-- 1 root wheel 1662 Feb 15 2001 Makefile.in >>-rw-r--r-- 1 root wheel 588 Feb 15 2001 NEWS >>-rw-r--r-- 1 root wheel 1271 Feb 15 2001 README >>-rw-r--r-- 1 root wheel 93 Feb 15 2001 acconfig.h >>-rw-r--r-- 1 root wheel 2387 Feb 15 2001 aclocal.m4 >>-rw-r--r-- 1 root wheel 1756 Jul 17 15:37 config.cache >>-rw-r--r-- 1 root wheel 177 Jul 17 15:37 config.log >>-rwxr-xr-x 1 root wheel 4702 Jul 17 15:37 config.status >>-rwxr-xr-x 1 root wheel 30797 Feb 15 2001 configure >>-rw-r--r-- 1 root wheel 1270 Feb 15 2001 configure.in >>drwxr-xr-x 2 root wheel 512 Jul 17 15:37 doc >>drwxr-xr-x 2 root wheel 512 Jul 17 15:37 lib >>-rwxr-xr-x 1 root wheel 722 Feb 15 2001 mkinstalldirs >>drwxr-xr-x 2 root wheel 1024 Jul 17 15:37 src >>drwxr-xr-x 2 root wheel 1024 Jul 17 15:37 tests >> >>Any suggestions? >> >>TIA, >> >>lane >> >>echo "===> gnu/usr.bin/gperf"; cd /usr/src/gnu/usr.bin/gperf; make >>DIRPRFX=gnu/usr.bin/gperf/ obj; make DIRPRFX=gnu/usr.bin/gperf/ depend; >>make DIRPRFX=gnu/ usr.bin/gperf/ all; make DIRPRFX=gnu/usr.bin/gperf/ >>DESTDIR=/usr/obj/usr/src/i3 86 install >>===> gnu/usr.bin/gperf >>/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for >>/usr/src/gnu/usr.bin/gperf >>===> gnu/usr.bin/gperf/doc >>/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for >>/usr/src/gnu/usr.bin/gperf/doc >>make: don't know how to make getopt.c. Stop >>*** Error code 2 >> >>Stop in /usr/src. >>*** Error code 1 >> >>Stop in /usr/src. >>*** Error code 1 >> >>Stop in /usr/src. >>joeandlane#:ROOT> >> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to >>"freebsd-questions-unsubscribe@freebsd.org" >> >> >> > >------------------------------ > >Message: 2 >Date: Sat, 17 Jul 2004 16:20:33 -0500 (CDT) >From: "Lane Holcombe" >Subject: DOH!!!!! RELENG_4_10! ... That'd make a difference! (was: Re: > buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==>make: don't knowhow > to make getopt.c) >To: freebsd-questions@freebsd.org >Message-ID: <200407172120.i6HLKXd7009732@joeandlane.com> >Content-Type: text/plain; charset=iso-8859-1 > >Thanks! > >I guess I'll fix my cvsupfile now! > >lane > > > >>On Sat, 17 Jul 2004 15:59:32 -0500 (CDT) >>"Lane Holcombe" wrote: >> >> >> >>>I'm upgrading from 4.9-RELEASE to 4.10-STABLE, but I can't get past "make >>>buildworld" >>> >>> >> >>in your sup file, have you got RELENG_4 or RELENG_4_10? >> >> >> >>>I ran "make clean" from /usr/src, then cvsup'd src-all from >>>cvsup3.freebsd.org and ran "make buildworld" from /usr/src but got the >>>error below. >>> >>>So, just to make sure everything was ok, I ran "rm -rd /usr/obj" and "rm >>>- rd /usr/src", cvsup'd again, but got the same error. >>> >>>Here's what's in /usr/src/gnu/usr.bin/gperf: >>> >>>drwxr-xr-x 3 root wheel 512 Jul 17 15:12 . >>>drwxr-xr-x 28 root wheel 512 Jul 17 13:55 .. >>>-rw-r--r-- 1 root wheel 473 Aug 9 2002 Makefile >>>-rw-r--r-- 1 root wheel 724 Feb 15 2001 config.h >>>drwxr-xr-x 2 root wheel 512 Jul 17 15:11 doc >>> >>>and /usr/src/gnu/usr.bin/gperf/doc: >>> >>>drwxr-xr-x 2 root wheel 512 Jul 17 15:11 . >>>drwxr-xr-x 3 root wheel 512 Jul 17 15:12 .. >>>-rw-r--r-- 1 root wheel 305 Feb 15 2001 Makefile >>> >>>and /usr/src/contrib/gperf: >>> >>>drwxr-xr-x 6 root wheel 512 Jul 17 15:37 . >>>drwxr-xr-x 50 root wheel 1024 Jul 17 15:34 .. >>>-rw-r--r-- 1 root wheel 86 Feb 15 2001 AUTHORS >>>-rw-r--r-- 1 root wheel 18149 Feb 15 2001 COPYING >>>-rw-r--r-- 1 root wheel 81182 Feb 15 2001 ChangeLog >>>-rw-r--r-- 1 root wheel 144 Feb 16 19:51 FREEBSD-Xlist >>>-rw-r--r-- 1 root wheel 7833 Feb 15 2001 INSTALL >>>-rw-r--r-- 1 root wheel 2576 Jul 17 15:37 Makefile >>>-rw-r--r-- 1 root wheel 1017 Feb 15 2001 Makefile.devel >>>-rw-r--r-- 1 root wheel 1662 Feb 15 2001 Makefile.in >>>-rw-r--r-- 1 root wheel 588 Feb 15 2001 NEWS >>>-rw-r--r-- 1 root wheel 1271 Feb 15 2001 README >>>-rw-r--r-- 1 root wheel 93 Feb 15 2001 acconfig.h >>>-rw-r--r-- 1 root wheel 2387 Feb 15 2001 aclocal.m4 >>>-rw-r--r-- 1 root wheel 1756 Jul 17 15:37 config.cache >>>-rw-r--r-- 1 root wheel 177 Jul 17 15:37 config.log >>>-rwxr-xr-x 1 root wheel 4702 Jul 17 15:37 config.status >>>-rwxr-xr-x 1 root wheel 30797 Feb 15 2001 configure >>>-rw-r--r-- 1 root wheel 1270 Feb 15 2001 configure.in >>>drwxr-xr-x 2 root wheel 512 Jul 17 15:37 doc >>>drwxr-xr-x 2 root wheel 512 Jul 17 15:37 lib >>>-rwxr-xr-x 1 root wheel 722 Feb 15 2001 mkinstalldirs >>>drwxr-xr-x 2 root wheel 1024 Jul 17 15:37 src >>>drwxr-xr-x 2 root wheel 1024 Jul 17 15:37 tests >>> >>>Any suggestions? >>> >>>TIA, >>> >>>lane >>> >>>echo "===> gnu/usr.bin/gperf"; cd /usr/src/gnu/usr.bin/gperf; make >>>DIRPRFX=gnu/usr.bin/gperf/ obj; make DIRPRFX=gnu/usr.bin/gperf/ depend; >>>make DIRPRFX=gnu/ usr.bin/gperf/ all; make DIRPRFX=gnu/usr.bin/gperf/ >>>DESTDIR=/usr/obj/usr/src/i3 86 install >>>===> gnu/usr.bin/gperf >>>/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf created for >>>/usr/src/gnu/usr.bin/gperf >>>===> gnu/usr.bin/gperf/doc >>>/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/gperf/doc created for >>>/usr/src/gnu/usr.bin/gperf/doc >>>make: don't know how to make getopt.c. Stop >>>*** Error code 2 >>> >>>Stop in /usr/src. >>>*** Error code 1 >>> >>>Stop in /usr/src. >>>*** Error code 1 >>> >>>Stop in /usr/src. >>>joeandlane#:ROOT> >>> >>>_______________________________________________ >>>freebsd-questions@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>To unsubscribe, send any mail to >>>"freebsd-questions-unsubscribe@freebsd.org" >>> >>> >>> >> >> >> >> > > > >------------------------------ > >Message: 3 >Date: Sat, 17 Jul 2004 16:21:16 -0500 >From: uidzero >Subject: Re: Root fs full -> free space always below 0 >To: epilogue , FreeBSD-Questions > >Message-ID: <40F9984C.7060707@one-arm.com> >Content-Type: text/plain; charset=us-ascii; format=flowed > >epilogue wrote: > > > >>On Sat, 17 Jul 2004 14:37:29 -0500 >>uidzero wrote: >> >> >> >> >> >>>Peter Schuller wrote: >>> >>> >>> >>> >>> >>>>Hello, >>>> >>>>so during a portupgrade on my laptop the root fs, with soft updates >>>>enabled, became full. So I removed a bunch of stuff to make a few gigs >>>>available. I checked and df reported more than a gig of free space - so >>>>I re-ran portupgrade. >>>> >>>>Then I noticed it was full again, with df showing a negative amount of >>>>free space. >>>> >>>>I removed even more stuff, and rebooted just incase there were more >>>>blocks to be freed. >>>> >>>>After the reboot df showed a negative amount of space again. So I >>>>removed even more data (rm -rf /usr/ports/distfiles) and now I had 115 >>>>meg free df claimed. I then re-ran df in quick succession a few times >>>>and watched diskspace rapidly decrease to a negative 600 meg or so >>>>(note: the decrease was perhaps 150 meg/second, so it cannot have been a >>>>process writing data to disk in the background). >>>> >>>>After a couple more reboots and a manual fsck in single user mode I >>>>still have the same problem (on both CURRENT and 5.2.1-RELEASE kernels). >>>> >>>>What to do? >>>> >>>> >>>> >>>> >>>> >>>Have you tried editing your ports-supfile and commenting out the >>>"src-all" and the Chinese, German, etc... ports? Just make sure you have >>>all the other ports uncommented. That will save you a lot of space, >>>unless you need them. >>> >>> >>> >>> >>while this 'will' save space, it will 'almost certainly' break any local >>/usr/ports/INDEX builds you attempt. >> >> >> >> >> >> >>>Michael >>> >>>-- >>>Michael D. Whities >>>uidzero@one-arm.com >>>http://www.one-arm.com >>> >>>-- >>> >>>There are four colors of hats to watch for: >>>Black, White, Grey, and Red. >>> >>>The meanings are: >>>Cracker, Hacker, Guru, and Victim. >>> >>>_______________________________________________ >>>freebsd-questions@freebsd.org mailing list >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>To unsubscribe, send any mail to >>>"freebsd-questions-unsubscribe@freebsd.org" >>> >>> >>> >>> >>> >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> > >Just rebuild the INDEX... ? > >Michael > > > > Adduser script I need to script adding a 100 users on a system each with a random username and password with a max of 6 chars for each So far pw adduser seems to be the best bet as i can use pw.conf . I allso need the user names and passwords mailed to root of course so i know whats been done Terry