LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-07-2010, 06:30 PM   #1
mdacarole
LQ Newbie
 
Registered: Feb 2010
Posts: 4

Rep: Reputation: 0
Why can't I find and change the Administrator on my EEE PC 900?


Okay--I am very new to this(as stated last week) I have been trying to install the drivers for my Egalax Touch Screen. I keep getting the message that I do not have permission, and at the end it says "are you root?" I have searched topics on the internet, then remember Linux. You have no idea how thankful I will be to finish this project. Can some one please tell me exactly what is I need to do....PLEASE?
 
Old 03-07-2010, 07:10 PM   #2
vitorsgoncalves
Member
 
Registered: Mar 2010
Posts: 96

Rep: Reputation: 18
the root is "administrator" itself.

to do some tasks (like installing drivers) you need to be root, the most common way is to open a shell (press alt+f2, type "xterm" or "gnome-terminal" and enter) then type "sudo command". For example, type "sudo nautilus" and it will open the file browser as root. With the file browser opened, go to where your drivers are and execute them.

there are various ways to become root, this is just one of them

OBS: while being root, the desktop will not be the same as your user. The root desktop is located in "/root/Desktop" and your user's desktop is located in "/home/username/Desktop".
 
Old 03-07-2010, 09:52 PM   #3
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by vitorsgoncalves View Post
to do some tasks (like installing drivers) you need to be root, the most common way is to open a shell (press alt+f2, type "xterm" or "gnome-terminal" and enter) then type "sudo command". For example, type "sudo nautilus" and it will open the file browser as root. With the file browser opened, go to where your drivers are and execute them.
I'll have to try this with pcmanfm (since I don't have nautilus):
Code:
mark@debian:~$ sudo pcmanfm

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for mark: ********
Sorry, user mark is not allowed to execute '/usr/bin/pcmanfm' as root on localhost.
mark@debian:~$
Hmm. My system is getting smart-assed with me. Time to pull out the sledge hammer and let it know who's boss.
 
Old 03-08-2010, 12:25 AM   #4
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
add yourself to the sudoers list. To do that you need to switch to the root user account.
Code:
mark@debian:~$ su
Enter your root password

Now that you are root run visudo
Code:
mark@debian:~$ visudo
What this does is open /etc/sudoers with vi/vim to be edited. This means you will need to know how to use vi/vim to change this file.

Now look for the line that reads "root ALL=(ALL) ALL". Right below that line press the i key to enter insert mode and add "mark ALL=(ALL) ALL". Afteryou have added the line press ESC key and then press shift+:. Now press qw and then press the ENTER key. This should save teh changes and exit the file.

Now you can press CTRL+D to logout of the root session and go back to working as the user mark. Now when mark uses sudo and you type in the password for mark it should work.
 
1 members found this post helpful.
Old 03-08-2010, 10:01 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Incidentally, use

Code:
su -
that way you inherit root's env as well. Without the '-', you are root, but with mark's env settings eg PATH etc.
 
  


Reply


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
lfs on the asus eee (900 for me) jason87x Linux - Software 1 07-01-2009 10:48 PM
lfs on the asus eee (900 for me) jason87x Linux From Scratch 0 06-21-2009 10:55 PM
LXer: EEE PC 900 Frag Fest LXer Syndicated Linux News 0 01-07-2009 06:30 AM
Asus EEE PC 900 the regular distro vs an eee distro dv502 Linux - General 8 07-28-2008 11:32 AM
ASUS Eee 701 and 900...which one to buy? vous Linux - Hardware 10 06-11-2008 04:01 PM


All times are GMT -5. The time now is 12:14 PM.

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