Re: a do nothing shell ?

2009-05-25 Thread John Collis
Hi, At the time, it was easier to have something with a prompt (even if it told you the only option was to quit and how to do it) rather than confuse a user who wouldn't understand a blank terminal that echoed lines back at you. Cheers, John On 24/05/2009, at 9:08 PM, Kent Fredric wrote:

Re: a do nothing shell ?

2009-05-24 Thread Kent Fredric
On Sat, May 23, 2009 at 12:59 PM, John Collis wrote: > Hi, > > Last time I had to do this, I simply wrote a simple command in C, that > would wait for a character and then exit. It doesn't have to be too > complicated. You could easily print a simple prompt (to alert any user who > looks at a ter

Re: a do nothing shell ?

2009-05-22 Thread John Collis
Hi, Last time I had to do this, I simply wrote a simple command in C, that would wait for a character and then exit. It doesn't have to be too complicated. You could easily print a simple prompt (to alert any user who looks at a terminal) and then wait. For security just don't use getchar

Re: a do nothing shell ?

2009-05-21 Thread Delio Brignoli
Hi Chris, I created a tunnel user account and set /bin/false as its shell. On the client I launch ssh with the -N option and that does the trick for me. If you attempt to connect without the -N option you are immediately logged out. cheers -- Delio On 22/05/2009, at 11:56 AM, chris bayle

Re: a do nothing shell ?

2009-05-21 Thread Hadley Rich
On Fri, 2009-05-22 at 11:56 +1200, chris bayley wrote: > I wish to create a guest account on a machine where that account exists > purely for the ability to connect via SSH and create tunnels. There is > no requirement for an interactive shell on the host machine. What then I > can I specify as

Re: a do nothing shell ?

2009-05-21 Thread steve
On Fri, 2009-05-22 at 13:57 +1200, chris bayley wrote: > chris bayley wrote: > > Hi bods, > > > > I wish to create a guest account on a machine where that account > > exists purely for the ability to connect via SSH and create tunnels. > > There is no requirement for an interactive shell on the h

Re: a do nothing shell ?

2009-05-21 Thread chris bayley
chris bayley wrote: Hi bods, I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an interactive shell on the host machine. What then I can I specify as the guest accounts shell ??? I

Re: a do nothing shell ?

2009-05-21 Thread chris bayley
Craig Falconer wrote: chsh username /bin/false Will that allow ssh tunnels still ? chris bayley wrote, On 22/05/09 11:58: I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an inter

Re: a do nothing shell ?

2009-05-21 Thread Craig Falconer
chsh username /bin/false Will that allow ssh tunnels still ? chris bayley wrote, On 22/05/09 11:58: I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an interactive shell on the hos

a do nothing shell ?

2009-05-21 Thread chris bayley
Hi bods, I wish to create a guest account on a machine where that account exists purely for the ability to connect via SSH and create tunnels. There is no requirement for an interactive shell on the host machine. What then I can I specify as the guest accounts shell ??? I have noted various 'r