On Sun, 11 Nov 2001 14:15:50 -0700, Jason Denton
>I'm betting that you are used to the bash shell under linux? FreeBSD
Ha, nope... not used to any of the shells yet, just kinda still
getting used to the concept of using differrent shells and why I would
want to.... this is my third day on FreeBSD, so I am using whatever
the default shell is when I log in... I think it is csh for root...
the prompt is a #. But when I log in as my user account, % is the
prompt, does that mean I am in a different shell?
Quote:>FreeBSD comes with an FTP sever already installed, and running from
>inetd by default. This server does not allow anonymous access by default
>(but can be configured for it), but does allow non-root users to log in
>and transfer files like you would expect. This works fine for me. I
>don't use it for anything but my own use, so I don't know how it stacks
>up against other ftp servers.
Well, I want to avoid anonymous log-ins. This will be a box I will be
putting into *space so I can access my ftp from anywhere I can
access the internet. So want to have as much control over who is
allowed to log into my ftp server as possible and also try to make it
as hard as possible for those I don't want having access but happened
to find it.
Quote:>Try changing your shell to tcsh(1) instead of sh(1), the default. This can be
>done with vipw(8).
>As root, do the following:
># vipw
Ah, looks like this was it... before making the changes with vipw, I
decied to test this by just changing shells with my user account to
csh and POOF, I had the ability to recall past commands. Looks like
Jason was right and I actually AM used to a shell already :)
Quote:>Bit tough getting used to vi(1) at first, but quite rewarding in the end.
Not a pro at vi but luckily I do know a tiny bit about it or I would
be completely lost in there... when possible, I try to use ee which is
a bit more user friendly.
Quote:>What shell are you using? (echo $SHELL)
Looks like I was using the csh shell. I find it kinda odd that that
root defaults to one shell, but user accounts default to a differrent
shell. Anyway, I can manually change the shell my user starts in by
ee /etc/passwd
and changing the line
jay:*:1001:1001.................:/bin/sh
to
jay:*:1001:1001.................:/bin/csh
I guess I will just have to remember in the future when creating users
with the adduser command to make sure I don't go with the default
shell, which is sh.
Quote:>> Trying to get the ProFTPd set up to to except connections... at
>> www.proftpd.org and reading through the Manual right now
>It's very satisfying to figure things out for yourself.
Most of the time, I whole heartedly agree with you on this. But this
also highly depends on the level of someones determination and ability
to ward off frustration. After reading through most of the Manual on
www.proftd.org, I have a lot better idea for security concerns and
featurs of proftpd, but I don't feel any closer to being able to get
it going.
I also did some searches for Howto setup proftpd through google, and
although I had a lot of hits, none of them were quite what I was
looking for, which was basically a hand holding through a first time
set-up, and then I could explore and tweak from there.
The list of things I KNOW I have to accomplish are (in no particular
order):
1. Establish a user account to use with ftp
2. tell proftpd that I want to use /ftp as the default space for
uploads and d/ls (I will create more better tree later)
3. Block the user accont from being able to move below the /ftp
directory
4. Start the ftp daemon and have it listen on the ftp port for
incoming connections.
I think that is the minimums... just gotta figure out how to do it
now... anyone know of a step by step doc out there? Even if it isn't
necessarily for ProFTPd, I could always start with a different FTP
Server this way because I am sure a lot of it will translate over to
another server.
Totally Jayynes