
for that user in the .bashrc file (or whatever shell your using)midnightlightning wrote:Probably more of a generic Linux question than gaming, but it applies in this case: I've got nethack installed on my Gentoo box, and want to set it up so for a particular user, nethack starts on login (via telnet or ssh) and if nethack closes, the telnet/ssh session closes. How would I go about doing that?
Code: Select all
echo "test"
exit


Yes, I've seen that, and for right now I'm not opening up the box to the world (only on my local network), so I think I'll be fine; plus it's not a mission-critical box to have up.PaveQ wrote:I think setting the login shell to the nethack is better than executing from bash. No bash gets started so theres no way to circumvent anything.
But are you aware that nethack does have known security problem in gentoo?
