once again many thanks to all that replied... This is one more detailed answer. Thank you very much all of you who have replied ! -----Original Message----- From: Bipin.Baghele@ge.com [mailto:Bipin.Baghele@ge.com] Sent: Thursday, December 23, 2004 4:12 PM To: akanellopoulos@upccorp.com Subject: RE: restricted shell I hope you are using Solaris version. You can create an account using /usr/lib/rsh as shell. This account can use commands created only in /usr/rbin directory. After user account created you can create the /usr/rbin directory and put link to /usr/bin/sar or any other command in /usr/rbin, so that he can run those commands only. If you want the sar command to execute/close when user login/logout you can modify the startup file (e.g.: .profile) for the account. Thanks Bipin Baghele -----Original Message----- From: Kanellopoulos, Angelos [mailto:akanellopoulos@upccorp.com] Sent: Thursday, December 23, 2004 3:53 AM To: 'sunmanagers@sunmanagers.org' Subject: restricted shell Hello Sun managers, Do you know how I can set up a user account to have shell access, but be able to run only sar and that's it ? and better if the sar starts automatically by the login, and log out when you exit sar? thank you. Angelos Kanellopoulos Unix system administrator United Pan-Europe Communications Boeing Avenue 53 119PE Schiphol-Rijk ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information.If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers ********* DISCLAIMER ********* This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information.If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Dec 23 10:25:17 2004
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:41 EST