Hi


        f=File.new("/etc/fstab","a+")
        f.puts  entry

now problem is ,
I am running the script as not root user ,,now its failing because the
user does not root priviligies

now how will do this ??

can i run that ruby module as sudo  ??

thanks

-- 
Posted via http://www.ruby-forum.com/.