Script for another user | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Script for another user

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-12-2013
Junaid Subhani Junaid Subhani is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 10 November 2014, 10:14 AM EST
Posts: 114
Thanks: 23
Thanked 2 Times in 2 Posts
Wrench Script for another user

Dear all,

I have two directories in /med/app/ :


Code:
drwxr-x---   7 fuse     staff       4.0K Jul 12 13:46 fuse
drwxr-xr-x  23 debmed   tabs         88K Jul 12 13:52 debmed

fuse & debmed are two separate users on the system.

I have a script in /med/appl/fuse/:

Code:
-rwxr-xr-x   1 fuse     staff        167 Jul 12 13:51 restartFuse.ksh

that I want debmed to run. I cannot change the permissions of the folders of either fuse or debmed.

How can this be achieved?
Sponsored Links
    #2  
Old 07-12-2013
Skrynesaver's Avatar
Skrynesaver Skrynesaver is offline Forum Advisor  
Grumpy old geek
 
Join Date: Mar 2011
Last Activity: 25 November 2014, 10:37 AM EST
Location: Éire
Posts: 829
Thanks: 20
Thanked 186 Times in 182 Posts
You could add debmed to the staff group in order that they could read the directory
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Script interacts with user , based on user input it operates only4satish Shell Programming and Scripting 7 11-15-2012 02:12 PM
Login into another user from user inside script rammm Shell Programming and Scripting 4 09-07-2012 05:04 AM
How to Login as another user through Shell script from current user[Not Root] ujjwal27 Shell Programming and Scripting 9 05-27-2012 12:50 PM
root user command in shell script execute as normal user mnmonu Shell Programming and Scripting 3 10-19-2009 08:42 AM
How do i change to super user then revert back to ordinary user ,using shell script? wrapster Shell Programming and Scripting 3 06-04-2008 08:11 AM



All times are GMT -4. The time now is 08:37 AM.