From owner-freebsd-questions Tue Nov 6 23:48:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by hub.freebsd.org (Postfix) with ESMTP id 812FD37B405 for ; Tue, 6 Nov 2001 23:48:22 -0800 (PST) Received: from wash by ns2.wananchi.com with local (Exim 3.33 #1) id 161NQo-000DIm-00 for freebsd-questions@freebsd.org; Wed, 07 Nov 2001 10:47:30 +0300 Date: Wed, 7 Nov 2001 10:47:29 +0300 From: Odhiambo Washington To: FBSD-Q Subject: Enteruser.pl Message-ID: <20011107104729.B37545@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , FBSD-Q Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Fortune: I can't understand it. I can't even understand the people who can understand it. -- Queen Juliana of the Netherlands. X-Operating-System: FreeBSD 4.4-STABLE i386 X-Best-Window-Manager: XFCE X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. X-Uptime: 9:46AM up 17:47, 2 users, load averages: 0.19, 0.26, 0.23 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello list, I'm experiencing a problem with the perl script referred in the subject. I hope that there is someone already using it. My problem is just to get this script to use the group that I have specified in pw.conf. I have tried mang= ling abit but no success. If it can be prodded to prompt for a group (there is s= ome section which seems to allow that although when I enable it it doesn't seem= to read and accept my input) that would be really nice. If it could also be modified to have the default shell in the Shell: [shell= s] - as in Shell: [no] that would also be neat. Below is the output of a test session. I'm attaching my pw.conf and the ent= eruser.pl script just in case someone needs to take a quick look. The only mod I've d= one to the perl script is to add the organization variable.=20 [root@ns2]#./enteruser.pl Username: test4 Full Name: Test Account 4 Password: [random] test4 Shell: [shells]=20 -Wash S y s t e m s A d m i n i s t r a t o r -- ~\\_ =20 Odhiambo Washington \\\\ =20 Wananchi Online Ltd., `\\\\\ =20 1st Flr Loita Hse, Loita Street |\\\\\ =20 PO Box 10286,00100-NAIROBI,KE. \\\\\|__.--~~\ =20 Fax: 254 2 313985-9 _--~ / =20 Fax: 254 2 313922 /~ ////// _-~~~~' =20 E-mail: wash@wananchi.com ('-//////-// =20 URL : http://www.wananchi.com //////(((-) =20 GSM: 254 72 743 223 / 254 733 744 121 /////" =20 _///" =20 +++ Meader's Law: Whatever happens to you, it will previously have happened to everyone you know, only more so. --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE76OcRn7LIsuxjem8RAguvAJ40BV4V8xbt7nrZn2Tapd1fiisdkQCglO2p yMoXSOC8J1nKXgMzjW9uTWg= =jvAc -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message