Results 1 to 10 of 11
Hello.
I am trying to type in a command, but get the following error message:
Sorry, user alexander is not allowed to execute '/usr/bin/apt-get install sane sane-utils libsane-extras' as root ...
- 11-11-2007 #1Banned
- Join Date
- Oct 2007
- Posts
- 219
Root/local host conflict/problems
Hello.
I am trying to type in a command, but get the following error message:
Sorry, user alexander is not allowed to execute '/usr/bin/apt-get install sane sane-utils libsane-extras' as root on localhost.localdomain.
Please help. Thanks.
Alexander
Edit:
Can anybody help me with setting up my scanner this way???:
Scanner hp scanjet 3970 sur linux ubuntu 7.04 - Frinix.com
I seem to have problems with the commands, etc.
Thank you.
- 11-11-2007 #2
which dstro do you use and what is the command you're trying to run...
for example in ubuntu is sudo for running commands as root but not everyone user can use it, but only members of group admin
- 11-11-2007 #3Banned
- Join Date
- Oct 2007
- Posts
- 219
- 11-11-2007 #4
You need to execute apt-get install as root.
first
su
Enter your root password
try your command againIf we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 11-11-2007 #5Banned
- Join Date
- Oct 2007
- Posts
- 219
Hello.
How? do I cexecute apt-get install as root?
This is the command I want to give into the "Run Command"-window:
sudo apt-get install sane sane-utils libsane-extras
And then I get the message:
Sorry, user alexander is not allowed to execute '/usr/bin/apt-get install sane sane-utils libsane-extras' as root on localhost.localdomain.
So I need very precice instructions: every little step, and I need all the words of the command, the complete command line.
And where, and how can I change the rights. And do those settings stay, or do I have to give the root permission in every time I type in "sudo"?
...Complicated stuff...
Thank you.
- 11-11-2007 #6
If you are using mepis, that doesn't use sudo. Not by default anyway.
You have to explicitly switch to be the super user.
1. Open a terminal
2. Type su and press enter
3. Enter the root password. You would have entered this at installation
4. Type apt-get install sane sane-utils libsane-extras and press enter
It should install
sudo is a way of temporarily gaining root access that some distros use by default.If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 11-11-2007 #7Banned
- Join Date
- Oct 2007
- Posts
- 219
Hi elija.
Enter where? the root password?
"root password" apt-get install sane sane-utils libsane-extras
gives me the message: Could not run the specified command.
- 11-11-2007 #8
Step 1. Type su. Press enter.
su is the "super user" command. It will give you root privileges. You will need
to enter the root password to prove that you are allowed.
Step 2. Type apt-get install sane sane-utils libsane-extras and press enter.
This should install the requested packages.Last edited by elija; 11-11-2007 at 02:45 PM. Reason: apt - not pt
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 11-11-2007 #9Banned
- Join Date
- Oct 2007
- Posts
- 219
Aha, ok, I think I understand. Thank you very much.
So, if it works with "su", without getting a errormessage, it should be fine?
If I give in "su" as command, like:
su apt-get install sane sane-utils libsane-extras
I don't get a error message, and I don't get asked for my root password.
I just thought, it maybe had to be "sudo", but if only "su" does it as well, it is ok for me.
- 11-11-2007 #10
su is one command and apt-get is a second command.
Use su and then apt-getIf we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.


Reply With Quote
