Re: Creating New Users over Telnet/SSH

2006-09-28 Thread Nikos Vassiliadis
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 im

Re: Creating New Users over Telnet/SSH

2006-09-27 Thread John Cruz
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?

Re: Creating New Users over Telnet/SSH

2006-09-27 Thread Nikos Vassiliadis
On Tuesday 26 September 2006 18:29, Derek Ragona wrote: [snip] > However you will need to replace the normal process running the login > (telnetd or sshd) and pass the login information to that daemon or > create a new user depending on the input data. No, you can force a default shell without mod

Re: Creating New Users over Telnet/SSH

2006-09-26 Thread Derek Ragona
You can gather the information with a shell script and send the arguments to pw which you can run via sudo. However you will need to replace the normal process running the login (telnetd or sshd) and pass the login information to that daemon or create a new user depending on the input data.

Creating New Users over Telnet/SSH

2006-09-25 Thread John Cruz
So a friend of mine is interested in creating a FreeBSD telnet/SSH box for people in his networking class to screw with. He said he wants to do something like what happens when you telnet into sdf.*lonestar.org *and if you're a new user you just type new and go from there, but I've never done th