[lug] ssh shell commands

Dan Ferris dan at usrsbin.com
Wed Jun 6 18:38:35 MDT 2007


You can limit commands with SSH keys.  If you are using password / PAM 
auth, there is the pam_chroot module.  You can stick users into their 
own little chroot worlds and have whatever commands you want.

Dan

karl horlen wrote:
> i currently have ssh account access with my isp.  i
> can ssh in and run who and other commands that let me
> determine all the other user id accounts and the real
> names behind those accounts on the box.  that seems a
> little weak to me.
> 
> isn't there a way to limit these commands while still
> giving a user ssh shell access?  if so how?
> 
> thanks
> 
> 
>        
> ____________________________________________________________________________________
> Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
> http://smallbusiness.yahoo.com/webhosting 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 
> 

-- 
No one expects the Spanish Inquisition.



More information about the LUG mailing list