Displaying 1 result from an estimated 1 matches for "abcdedf".
Did you mean:
abcde
2007 Aug 22
0
weird error - illegal instruction
...rubygems''
require ''net/ssh''
def subscribe_user
#User added to distribution list
Net::SSH.start(''xyz'', ''username'', ''pwd'') do |session|
shell = session.shell.sync
out = shell.sudo "-u abcdedf"
p out.stdout
p out.status
p out.stderr
shell.exit
if out.status == 0
@user_in_group.save
redirect_to :action => ''home'', :homestring => ''You were
successfully subscribed to the mailing list''...