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 pe

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 ter

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 t

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 Reco
Hi. On Sat, 18 Jan 2014 14:50:21 + Chris Davies wrote: > 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. > > Unfortunately rbash has a race condition built in to its execution of > .profile by d

Re: Minimizing shell access on my VPS

2014-01-18 Thread Chris Davies
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. Unfortunately rbash has a race condition built in to its execution of .profile by definition (it doesn't disable the interrupt signal until after the .profile

Re: Minimizing shell access on my VPS

2014-01-18 Thread Reco
Hi. On Sat, 18 Jan 2014 01:23:16 -0800 Aubrey Raech 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 in question to

Re: Minimizing shell access on my VPS

2014-01-18 Thread Joel Rees
On Sat, Jan 18, 2014 at 6:23 PM, 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.

Re: Minimizing shell access on my VPS

2014-01-18 Thread Zenaan Harkness
On 1/18/14, Aubrey Raech 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 able to run the

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. > >

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 ru