Re: Noninteractive password inputting
From: Alex (alexrainy_at_dontbotherme.com)
Date: 11/11/03
- Previous message: Volker Birk: "Re: Writing a SECURE daemon"
- In reply to: Michael Heiming: "Re: Noninteractive password inputting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 10 Nov 2003 23:22:25 GMT
Michael Heiming <michael+USENET@www.heiming.de> wrote in
news:3qinob.g45.ln@news.heiming.de:
> The easiest, run the script as root.
> ;)
I don't want to do that :(
> Next way, setup key-authentication and login as 'ssh
> otheruser@localhost'.
......that's not a good idea
> Or use 'expect' as you already found out, there is lots of info coming
> with the packages:
>
> $ man -k expect
> autoexpect (1) - generate an Expect script from watching a
> session expect (1) - programmed dialogue with
> interactive programs, Version 5 expectk (1) - Expect
> with Tk support libexpect (3) - programmed dialogue with
> interactive programs - C functions
>
Ya, maybe the 'expect' is the best way without coding out a program.
Thx.
- Previous message: Volker Birk: "Re: Writing a SECURE daemon"
- In reply to: Michael Heiming: "Re: Noninteractive password inputting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|