tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Prob with ssh where users shell is tsh - trying to re-authenticate user
@ 2003-06-17 23:38 Anthony Pilley
  0 siblings, 0 replies; only message in thread
From: Anthony Pilley @ 2003-06-17 23:38 UTC (permalink / raw)


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@orange.usyd.edu.au



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-17 23:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 23:38 Prob with ssh where users shell is tsh - trying to re-authenticate user Anthony Pilley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox