Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 02-07-2010, 08:07 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Lightbulb Call other script having different Permissions


I am writing a shell script lets say and i want to call another script lets say having permissions " root:sys" whereas the permissions for are "rootther".

Problem is that i cannot change the permissions of either of them. is performing some other important functions as well and is a system script and i am not supposed to change that.

If i do not change the permissions, simply skips the part where it is suppose to call

Can anyone tell me how do i call in without changing permissions of any of them.

dub=`cd /opt/FJSVmadm/sbin
hrdconf -l`

check5=`grep '*' $dub`

if [ "$check5" ]
echo "Hardconf Status....................OK\n"
echo "Hardconf Status....................NOK\n"
Thanks in advance
Old 02-07-2010, 08:19 AM   #2
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Blog Entries: 12

Rep: Reputation: 92
You had already posted this thread in programming also.
continue from here
Old 02-07-2010, 08:35 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script for MV script call learnerlearner Linux - Newbie 3 06-03-2009 02:42 AM
ssh - using variables in call to start remote script from local script babag Linux - Networking 2 06-03-2008 04:50 PM
How can I script an autologin, automatically call kde(or simillar) and call an app aboaventura Slackware 8 02-03-2007 11:00 PM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 09:40 PM
call another script and have the inital script exit mjtice Programming 1 09-11-2005 11:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration