From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079036515696.tru64-unix-managers.marc@archive.invalid> From: harish arora Date: Mon, 15 Feb 1999 19:45:42 +0000 To: tru64-unix-managers Subject: Summary: remote user security issue X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079036515696 > > Hello Managers ! >> Thanks to all of you,who has given me suggestions ! I have solved the problem. My original question was : > I want to setup the permission for the remote user.The scenario is >> like this . >> >> USER A -- local user >> USER B -- remote user >> >> user A want to access the user B by running this command "rsh machineb >> -l userB ls".He is getting permission denied error.I have >> setup .rhosts file in the USERB home directory,which contains the >> hostname and username of A.But still it gives the same error.I have >> tried /etc/hosts.equiv ,where i have define machine name and username >> of A.Then it's able to recognize and run the command.Now the problem >> he can run any command and for any user.Which i want to restrict. >> So please suggest me how i can setup the permission for this. >> I am waiting for the response on this matter. >> Solution Implemented : I have taken out the username and hostname from the /etc/hosts.equiv file.I have change the permission from root to owner's and 0600.They are able to run the command and it's secure also.This user can't access other user's homedirectory . Thanks once again Harish Arora System Administrator BFC-USA >> TIA ! >> >> Harish Arora >> system administrator >> BFC-USA >> >> ______________________________________________________ >> Get Your Private, Free Email at http://www.hotmail.com > >-- >Anthony Patchett BSc.(Hons.) > >ODS System Administration >DFS Deutsche Flugsicherung GmbH >Karlsruhe >Germany > > > > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com