Creating New Users over Telnet/SSH

Nikos Vassiliadis nvass at teledomenet.gr
Thu Sep 28 05:39:09 PDT 2006


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 at 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



More information about the freebsd-questions mailing list