Date: Fri, 18 Jul 1997 12:46:30 +0200 From: Michael Hallgren <hallgren@easynet.fr> To: freebsd-isp@FreeBSD.ORG Subject: Re: Adduser Plus Script... Message-ID: <33CF4986.64306E22@easynet.fr> References: <Pine.BSI.3.96.970716233911.2233B-100000@patrick.interlog.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Patrick McConnell wrote: > > The adduser script already does this, at least the one that came with > 2.2.2-R. All you have to do is set up /usr/share/skel the way you want a > new user's home dir to be. Mine sets up a new user with ~/public_html, > perm 755. I would still recommend that you learn to use Perl, though. You > will probably find it invaluable to you as a sys admin. This is just excellent. Is it possible also, to let adduser create a file named the login of the added user, and create a softlink back to the added users directory? Cheers Michael > > Patrick > > On Thu, 17 Jul 1997, Daniel O'Callaghan wrote: > > > > > On Wed, 16 Jul 1997, Marcin Pasek wrote: > > > > > I am looking for a Perl Script that would Add users, setup directories > > > with Public_html and index and set the appropriate RIGHT... > > > > /usr/sbin/adduser is a perl script. It is not too hard to modify, to get > > it to mkdir and chmod and chown. Buy a book on perl. You'll find > > yourself wanting to do *lots* of scripts, and you won't always find them > > on this list. > > > > Danny > > > > > > -- > Patrick McConnell (patrick@interlog.com) > Finger info: http://www.interlog.com/~patrick/finger > > "640k ought to be enough for anybody." > -Bill Gates, 1981 -- Michael Hallgren, Easynet France Write : http://www.loria.fr/tex Play : http://www.perl.com/perl
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33CF4986.64306E22>