LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-12-2006, 01:09 AM   #1
elion
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
How do i login as admin


Hi all,

i am a newbiew linux user. i have got redhat linux setup at home. whenever linux boots it takes me immediately to the gui. now, i am unable to edit some files because the files show up as read only. i assume that if i have admin priviledge then i can edit the files. how do i get into admin mode in gui without reboot? and how do i edit the files?

thanks in advance...
 
Old 09-12-2006, 01:34 AM   #2
jp-lack
Member
 
Registered: Mar 2005
Location: NJ - US
Distribution: Slackware
Posts: 93

Rep: Reputation: 15
the 'super user' is called root... so you need to tell us how did you set this up?... how do log in? are you using a regular user?, have you tried to log in as root?
 
Old 09-12-2006, 01:35 AM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Don't log in to a GUI as root. Log in as a normal user, open a terminal and use "su" (or "su - ") to become root. You'll be prompted for your root password. You will then be able to edit the files (edit: assuming of course they have write permissions for root).
 
Old 09-12-2006, 03:09 AM   #4
elion
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Original Poster
Rep: Reputation: 0
>> so you need to tell us how did you set this up?

it was installed by third party and i cannot get hold of the person who installed it

nylex - thanks for your reply, but how do i open a terminal from gui ?
 
Old 09-12-2006, 03:11 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
As an alternative to Nylex' solution:
there are usually some terminals available under <ctrl><alt><F1..F6>. Login as root. Please note that those terminals don't have graphical capabilities, they are plain text terminals.

Some people use vi(m), others use emacs to edit files. Both are text based. There are other text-based editors that are probably easier to use for a newbie but they might have limitations for advanced editing. I don't have any experience with them as I use vi(m).
Maybe mc is the tool for you. Allows directory browsing and file editing in a possibly newbie friendly way.

Depending on what you have to modify, you might need to restart services before the changes take effect.
 
Old 09-12-2006, 07:02 AM   #6
sanjar_mask
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
Login as admin

Hi!!!

You can do the su(super user) from GUI itself. Launch either using mouse or ALT+F1. Go to System Settings(or similar option). And click on terminal. This will open a terminal in your GUI. Do su and provide the root password and enjoy editing and rootly powers !!!!

Regards
 
Old 09-15-2006, 08:09 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by elion
nylex - thanks for your reply, but how do i open a terminal from gui ?
Look for entries in the menu called "Konsole", "xterm" or "Terminal". Selecting one of those will give you a terminal window. Of course, you can always use the suggestions given above this post.
 
  


Reply

Tags
how, linux


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Confessions of a Real-World Linux Admin: "I Always Login As Root." LXer Syndicated Linux News 0 08-11-2006 06:21 AM
2K admin now RHEL4 admin (I have some questions) wilsryan Red Hat 5 01-30-2006 01:18 PM
KDE 3.4.1 Login Manager won't enter admin mode rgingels Debian 12 11-09-2005 04:20 PM
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 08:55 AM
Remote Login / Admin volvodriver Linux - General 3 10-24-2003 10:30 AM


All times are GMT -5. The time now is 06:06 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration