Re: Minimizing shell access on my VPS

2014-01-19 Thread Martin Steigerwald
Am Samstag, 18. Januar 2014, 01:23:16 schrieb Aubrey Raech: Hey debian-user list-- I have a friend in another country who only uses Windows, and I wanted to show him a programming project I've been working on. This program only runs on GNU/Linux as of now, and is accessed through the

Re: Minimizing shell access on my VPS

2014-01-19 Thread Martin Steigerwald
Am Samstag, 18. Januar 2014, 19:12:18 schrieb Bob Proulx: Unix-like systems have been multiuser machines forever. Personally I create accounts for people often and know that the file permissions do their job to keep people restrictions presented. If I have files that I don't want other

Minimizing shell access on my VPS

2014-01-18 Thread Aubrey Raech
Hey debian-user list-- I have a friend in another country who only uses Windows, and I wanted to show him a programming project I've been working on. This program only runs on GNU/Linux as of now, and is accessed through the terminal. My first thought is that this isn't a problem; I have a VPS

Re: Minimizing shell access on my VPS

2014-01-18 Thread Andrei POPESCU
On Sb, 18 ian 14, 01:23:16, Aubrey Raech wrote: Hey debian-user list-- I have a friend in another country who only uses Windows, and I wanted to show him a programming project I've been working on. This program only runs on GNU/Linux as of now, and is accessed through the terminal. My

Re: Minimizing shell access on my VPS

2014-01-18 Thread Zenaan Harkness
On 1/18/14, Aubrey Raech aub...@raech.net wrote: I have a friend in another country who only uses Windows, and I wanted to show him a programming project I've been working on. This program only runs on GNU/Linux as of now, and is accessed through the terminal. I'd prefer he only really be

Re: Minimizing shell access on my VPS

2014-01-18 Thread Joel Rees
On Sat, Jan 18, 2014 at 6:23 PM, Aubrey Raech aub...@raech.net wrote: Hey debian-user list-- I have a friend in another country who only uses Windows, and I wanted to show him a programming project I've been working on. This program only runs on GNU/Linux as of now, and is accessed through

Re: Minimizing shell access on my VPS

2014-01-18 Thread Reco
Hi. On Sat, 18 Jan 2014 01:23:16 -0800 Aubrey Raech aub...@raech.net wrote: ...so that he can't access at least my personal things, but honestly I'd prefer he only really be able to run the one program. Set up another user with /bin/rbash (not straight /bin/bash) as a shell. Copy the program

Re: Minimizing shell access on my VPS

2014-01-18 Thread Chris Davies
Reco recovery...@gmail.com wrote: Set up another user with /bin/rbash (not straight /bin/bash) as a shell. Set PATH in .bashrc of said user to that program. Unfortunately rbash has a race condition built in to its execution of .profile by definition (it doesn't disable the interrupt signal

Re: Minimizing shell access on my VPS

2014-01-18 Thread Reco
Hi. On Sat, 18 Jan 2014 14:50:21 + Chris Davies chris-use...@roaima.co.uk wrote: Reco recovery...@gmail.com wrote: Set up another user with /bin/rbash (not straight /bin/bash) as a shell. Set PATH in .bashrc of said user to that program. Unfortunately rbash has a race condition

Re: Minimizing shell access on my VPS

2014-01-18 Thread Bob Proulx
Reco wrote: Set up another user with /bin/rbash (not straight /bin/bash) as a shell. Set PATH in .bashrc of said user to that program. Restricted shells have a long history. Everyone wants them to work. But in practice they tend to have a lot of holes. Joel Rees wrote: Oh. Well, that might

Re: Minimizing shell access on my VPS

2014-01-18 Thread Артур Истомин
On Sat, Jan 18, 2014 at 01:23:16AM -0800, Aubrey Raech wrote: Hey debian-user list-- I have a friend in another country who only uses Windows, and I wanted to show him a programming project I've been working on. This program only runs on GNU/Linux as of now, and is accessed through the