Adduser script
Terry
terry at mrtux.co.uk
Sun Jul 18 05:27:11 PDT 2004
freebsd-questions-request at freebsd.org wrote:
>Send freebsd-questions mailing list submissions to
> freebsd-questions at 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 at freebsd.org
>
>You can reach the person managing the list at
> freebsd-questions-owner at 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 <epilogue at allstream.net>
>Subject: Re: buildworld fails in /usr/src/gnu/usr.bin/gperf/ ==>make:
> don't know how to make getopt.c
>To: "Lane Holcombe" <lane at joeandlane.com>
>Cc: freebsd-questions at freebsd.org
>Message-ID: <20040717171707.031a1a8e at localhost>
>Content-Type: text/plain; charset=US-ASCII
>
>On Sat, 17 Jul 2004 15:59:32 -0500 (CDT)
>"Lane Holcombe" <lane at joeandlane.com> 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 at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to
>>"freebsd-questions-unsubscribe at freebsd.org"
>>
>>
>>
>
>------------------------------
>
>Message: 2
>Date: Sat, 17 Jul 2004 16:20:33 -0500 (CDT)
>From: "Lane Holcombe" <lane at cd-solutions.net>
>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 at freebsd.org
>Message-ID: <200407172120.i6HLKXd7009732 at 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" <lane at joeandlane.com> 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 at freebsd.org mailing list
>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>To unsubscribe, send any mail to
>>>"freebsd-questions-unsubscribe at freebsd.org"
>>>
>>>
>>>
>>
>>
>>
>>
>
>
>
>------------------------------
>
>Message: 3
>Date: Sat, 17 Jul 2004 16:21:16 -0500
>From: uidzero <uidzero at one-arm.com>
>Subject: Re: Root fs full -> free space always below 0
>To: epilogue <epilogue at allstream.net>, FreeBSD-Questions
> <freebsd-questions at freebsd.org>
>Message-ID: <40F9984C.7060707 at one-arm.com>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>
>epilogue wrote:
>
>
>
>>On Sat, 17 Jul 2004 14:37:29 -0500
>>uidzero <uidzero at one-arm.com> 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 at 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 at freebsd.org mailing list
>>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>To unsubscribe, send any mail to
>>>"freebsd-questions-unsubscribe at freebsd.org"
>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>freebsd-questions at freebsd.org mailing list
>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list