Re: a script to login a user an execute commands?
From: James Willmore (jwillmore_at_remove.adelphia.net)
Date: 12/06/03
- Next message: at: "Ongoing LWP impass... advise please?"
- Previous message: James Willmore: "Re: q on 'record', 'field' separators in text files"
- In reply to: Marc-Olivier BERNARD: "a script to login a user an execute commands?"
- Next in thread: Gregory Toomey: "Re: a script to login a user an execute commands?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 06 Dec 2003 22:15:11 GMT
On 6 Dec 2003 09:09:25 -0800
s_p_a_m_mob@hotmail.com (Marc-Olivier BERNARD) wrote:
> I need to create a small script to execute as root, which logs in as
> standard user, and execute some commands.
Define "logs in". What are you using to 'log in' - telnet, ssh, ??
> Is there another way to do but use Expect.pm?
Yes. Many modules are available. It all depends on what you're
trying to do.
Some code would be helpful :-)
HTH
-- Jim Copyright notice: all code written by the author in this post is released under the GPL. http://www.gnu.org/licenses/gpl.txt for more information. a fortune quote ... "I stopped believing in Santa Claus when I was six. Mother took me to see him in a department store and he asked for my <autograph." -- Shirley Temple
- Next message: at: "Ongoing LWP impass... advise please?"
- Previous message: James Willmore: "Re: q on 'record', 'field' separators in text files"
- In reply to: Marc-Olivier BERNARD: "a script to login a user an execute commands?"
- Next in thread: Gregory Toomey: "Re: a script to login a user an execute commands?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|