Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Dialog msg-->then try again.You may need to reboot.installation will now abort... This script can not be ran with Administrative Privileges. The script elevates on its own. Please run the script with Standard User Privileges. Installation will now Abort. Help Me. (as root sh GUIInstall.sh) Help Me..

share|improve this question

2 Answers 2

First I would be extremely careful here. You should not need to run a script, let alone with root privileges, to install a theme.

I understand, scripts such as this can seem "easy" if you are new to Themes, but, this is how social engineering works as well.

Here is a great tutorial on installing themes:

Install themes and icons in Ubuntu 11.10

With that caution in mind, the error message seems to imply the script will elevate on it's own.

chmod a+x GUIInstall.sh
./GUIInstall.sh

If you have a problem with that, I would ask you pastebin the entire script and paste a link back here so we can both look at what it is doing and if it need to be modified in some way.

good luck.

EDIT: Added a snipit

if [[ $UID -eq 0 ]]; then
  echo "This script can not be ran with Administrative Privileges. The script elevates on its own. Please run the script with Standard User Privileges."
  exit 1
fi
share|improve this answer
    
Thank YOu very Much...BUT I have still user Root..and Did Not installation aborted . –  erkan şentürk Dec 11 '11 at 17:13
    
You would have to post the script. Some scripts test if you are running as a user or root, and act accordingly, I will post a snipit –  bodhi.zazen Dec 11 '11 at 17:16
    
.themes files a Folder in Desktop...GUIInstall.sh,Core.py vs.. –  erkan şentürk Dec 11 '11 at 17:23
    
GUIInstall.sh file in ------>if [[ "$PYTHON" =~ "2.7" ]] || [[ "$PYTHON" =~ "2.6" ]] || [[ "$PYTHON" =~ "2.5" ]] || [[ "$PYTHON" =~ "2.4" ]] || [[ $UID -eq 0 ]]; then python Core.py "$SWITCH" echo "This script can not be ran with Administrative Privileges. The script elevates on its own. Please run the script with Standard User Privileges." exit 1 else zenity --error --text="$WORD1 $PYTHON. $WORD2" python Core.py "$SWITCH" fi exit –  erkan şentürk Dec 11 '11 at 17:40
    
so run the script as a user, without sudo, what happens ? –  bodhi.zazen Dec 11 '11 at 18:21

First you need to be administrator for installation. login as administrator by using comand "sudo -s" and enter your password and then try again. I hope it will works.

share|improve this answer
    
Thank very much!! –  erkan şentürk Dec 11 '11 at 16:58
    
I have still user Root..and But Did Not installation aborted ..themes files a Folder in Desktop...GUIInstall.sh,Core.py vs.. –  erkan şentürk Dec 11 '11 at 17:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.