[NTLUG:Discuss] restricting shell functions in a telnet session

David Camm bbai at onramp.net
Tue Apr 18 10:06:58 CDT 2000


several of our customers have asked if they could have telnet access to
their information on our server.  those who need it already have guest
ftp access.

in searching through the telnet and login docs, i can find no way to
restrict a user's login shell to NOT go above the user's home directory,
as guest or anonymous ftp does. 

since we've been a bit sloppy, going back and chekcing all permissions
on all files to ensure that a user couldn't inadvertantly (or
advertantly, for that matter) wreak any havoc would be a royal pain,

is there any way of modifying (say) /etc/bashrc or /etc/profile to
accomplish this?

is there another way?

thanks in advance...

david camm
@dvanced web systems




More information about the Discuss mailing list