[NTLUG:Discuss] What settings do I want?

Jack Snodgrass jack+ntlug at mylinuxguy.net
Thu Feb 6 10:03:54 CST 2003


not sure if this is fool proof ( I'm sure that it is not ) but this
is what I did in that situation.

I had a set of .bashrc and .bash_profile and .bash_logoff ( not 100%
sure about that last one ) that I used for 'FTP Only' users.
These .bash files were owned by root and were only writeable by
root. In there, all it did was a logoff. So... if a users telneted
or ssh'd in, they got kicked out when the /bin/bash executed from
their /etc/passwd profile. If they ftp'd in, it left them alone.

-- 
Thanks - jack


> I am trying to "tighten down" my web server some more....finding folks
> doing SSH into it that SHOULD only have FTP access.  This is the selection
> I have, what setting do I set a user to IF they should ONLY have FTP
> access
> to a Red Hat server...?
>
> /bin/sh
>
> /bin/csh
>
> /bin/false
>
> /bin/bash
>
> /sbin/nologin
>
> /bin/sync
>
> /sbin/shutdown
>
> /sbin/halt
>
> /dev/null
>
> /bin/nologin
>
> /bin/bash2
>
> /bin/ash
>
> /bin/bsh
>
> /bin/tcsh
>
> Other...
>
>
> Better yet, could you tell me what each of these does...or means?
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>




More information about the Discuss mailing list