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 host machine. What then I
can I specify as the guest accounts shell ???
I have noted various 'restricted shells' such as rbash and rssh but they
still do more than I need. Really all I want is MOTD and logout.
What do you suggest ?
--
Craig Falconer