Tru64 users
I am tring to get users to re-authenticate each time they run a
particular application.
I created a script that does a ssh to the same server which 'touches' a
file in the users home dir.
ssh <servername> touch <filename>
and then checks to see if the file exists.
If it does, the re-authenticate worked, and the user is allowed to run
the app
if it doesnt, they go back to the menu again.
This all works fine for me, as my default shell is 'csh' but my users
have theirs set to 'tsh'
and it asks for and accepts the password, but doesnt run the 'touch'
command and errors:
stty: tcgetattr: Invalid argument
Not a terminal
Is there any way of doing this,
Or should I be looking in a whole different direction
Thanks
Anthony Pilley
Computer System Officer
Lan Manager
University of Sydney Orange
Faculty of Rural Management
email: apilley_at_orange.usyd.edu.au
Received on Tue Jun 17 2003 - 23:39:00 NZST