hi, u should also create a .rhosts file for the user testuser with the entry of the oracle server's ip. Just verify doing this, i hope it must work fine.
Thanks & Regards, Pradeep. --- "Sharad Kumar , NCR-TERADATA, Gurgaon" <[EMAIL PROTECTED]> wrote: > > .rhosts is owned by oracle and it's permission is > not world writable: i have > checked this. > i wanted to execute the script(located on the > database server) from my linux > box logged in as testuser and i have changed the > .rhosts file in the > /home/oracle dir. on the database server. > > > > > Hi All, > > > > I have created an account "testuser" on my Linux > box. > > There is a database server which has an account > "oracle" which contains > the > > .rhosts file. I made an entry of my Linux box in > the .rhosts file of the > > oracle user like this: > > > > ipaddress(of my linux box) testuser > >now from my linux > > and box I am executing a > command which would rsh on > this > > database server and will execute a script > /u001/database/bin/zzzz which > will > > load the data in the database. > > i am logging in as testuser on my Linux box and > executing the command : > rsh > > -l testuser hostname '/u001/database/bin/zzzz' , > but it is saying as > > permission denied. > > Make sure that the .rhosts is owned by oracle and > its permission is not > world writable. > > > i want to run this script as testuser only. and i > can't create a testuser > on > > the database server because i don't have the root > access.I can login on > this > > server as user oracle only. > > Why dont you use ssh instead of rsh. With ssh you > can assure security. (ssh > approx= rsh + security ) > > Regards > -logu > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and > Integration > See the breadth of Eclipse activity. February 3-5 in > Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
