Results 1 to 1 of 1
The environment is Novell oes2. i.e. SLES 10
Users can ssh into the oes2 server fine.
I have created a one line script
[ `id -gn` = "trax" ] && ...
- 08-11-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 1
broken bash prompt
The environment is Novell oes2. i.e. SLES 10
Users can ssh into the oes2 server fine.
I have created a one line script
[ `id -gn` = "trax" ] && exec /bin/bash
If the same user is made a member of group trax and logs in, they do NOT get a bash prompt, only a blinking cursor.
No commands work at the blinking cursor, although you do see characters echoed when you type.
ctrl-c closes the session.
Why is this happening?
Ideally I want to evolve the script to start a menu
[ `id -gn` = "trax" ] && exec /usr/local/bin/menu.sh
I can execute this script and menu.sh runs, but if I try to
execute the menu choice that gives me a shell, I get no bash prompt, and the behavior is the same as above.


Reply With Quote