Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2006 15:35:23 +0300
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        john@cruzweb.net
Cc:        freebsd-questions@freebsd.org, Derek Ragona <derek@computinginnovations.com>
Subject:   Re: Creating New Users over Telnet/SSH
Message-ID:  <200609281535.23737.nvass@teledomenet.gr>
In-Reply-To: <451A9483.2010200@cruzweb.net>
References:  <4518BCCE.5050902@cruzweb.net> <200609271124.19682.nvass@teledomenet.gr> <451A9483.2010200@cruzweb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 27 September 2006 18:10, John Cruz wrote:
> Nikos Vassiliadis wrote:
> > On Tuesday 26 September 2006 18:29, Derek Ragona wrote:
> > [snip]
> > No, you can force a default shell without modifications.
> > Check out login.conf(5) and shell variable.
> >
> > However, the original post implies little FreeBSD experience.
> > Why do you want to automate such a procedure?
> > You said it's going to be for a networking class, that is a limited
> > a number of users, right?
> >
> > sdf is a public access Unix system and has to do this automatically,
> > you don't have to. smj@sdf.lonestar is a seasoned administrator,
> > who has tampered the OS in a number of ways.
> >
> > Just my 2 cents, Nikos
>
> That's basically what I was asking, could this be something easily done
> with a script that could be a fun learning experience, or would it
> require major OS customization and wouldn't be worth the time or
> trouble. Thanks for your input, Nikos.

It's not very difficult to do. I would suggest starting your scripting 
adventures from something else. Something that will not have to
do with system administration or something that will not be executed
by unknown users with superuser power. Perhaps you can keep
the script to yourself 'till you feel it's read for "production" use.
You can write the script and then try to break it with invalid input...
Once you would have learned where/how it breaks, you will be
able to correct it. Start your reading from the sh manual page...

HTH, Nikos




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609281535.23737.nvass>