run 'some' code as a different user? NET::SSH?
- From: John Clisham <jfclisham@xxxxxxxxx>
- Date: Tue, 1 May 2007 04:48:37 +0900
Hello,
I'm working on a ROR app that allows users to track batch computing jobs
submitted to our high performance computing clusters. Anyway, a piece of
functionality to that application is an online file browser to the
server.
Net, I have a need to authenticate users to the Server's OS (I was
thinking using Net:SSH). Then, once authenticated, I'd like to run some
ruby commands as that user vs. the 'non-priviledged user the webserver
is running under.
Is this possible? Any ideas?
Thanks
KF
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: run 'some' code as a different user? NET::SSH?
- From: Brian Candler
- Re: run 'some' code as a different user? NET::SSH?
- Prev by Date: Re: How do I prevent ruby on windows from automatically converting filename arguments?
- Next by Date: Re: Array.which_long? ( I coded an extension for Array )
- Previous by thread: Rails Web services (in general), HTTP GET and JSON and other topics
- Next by thread: Re: run 'some' code as a different user? NET::SSH?
- Index(es):