Date: Wed, 7 Nov 2001 10:47:29 +0300 From: Odhiambo Washington <wash@wananchi.com> To: FBSD-Q <freebsd-questions@freebsd.org> Subject: Enteruser.pl Message-ID: <20011107104729.B37545@ns2.wananchi.com>
next in thread | raw e-mail | index | archive | help
--/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011107104729.B37545>
