LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-07-2004, 02:19 AM   #1
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Rep: Reputation: 30
opening root in debian


Greetings All

I have used root many time however I can't seem to get into root in debian I do not know what i am doing wrong can u help

also how do I install files like tar I did it in the other distros but I cant here is it diferent?

Thank you all
 
Old 12-07-2004, 02:37 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Can you log in as a regular user? If so, type:
su -
And then the root password.

Other options are, switching consoles:
CTRL+ALT+F2
And then typing
root
In the username spot, followed by an ENTER, then the root password.

Do you mean you actually want to install the application 'tar' or do you mean how to install an application that ends in .tar.gz or something similar?

Cool
 
Old 12-07-2004, 02:56 AM   #3
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
I can unpack them using a gui I have not tried it the other way.

what I am trying to do is install opera (a web browser) now usually i just either install it with the rpm type or after unpacking a tar file i do ./configure and so on but here it acts as though it does not have ./configure

and as far as the log on what I need to do is open fstab and I cant save the changes to it when under the reg user. what do I type if in the terminal to open it so I can edit it.

I have done this when in the terminal su enter then the password but i do not know how t access programs like text editors that way.

ps: all of the other distros i had I just loged out and loged in as root now here it says I cant do that.
 
Old 12-07-2004, 03:24 AM   #4
kees-jan
Member
 
Registered: Sep 2004
Distribution: Debian, Ubuntu, BeatrIX, OpenWRT
Posts: 273

Rep: Reputation: 30
It might be that kdm or gdm or whatever (which are you using anyway?) is configured to not allow root logins. Using kde or gnome as root is considered insecure.

If you want to install something in debian, you should be using the apt system, not rpms or tars. try googling for apt-get, apt-cache and/or aptitude.

Groetjes,

Kees-Jan
 
Old 12-07-2004, 03:52 AM   #5
phoenix_wolf
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 177

Original Poster
Rep: Reputation: 30
well thank you all for your help I installed the stuff I needed using dpkg -i filename. now as far as getng a text editor runing in root how do i do that what name do i type.

Again thankyou for your help
 
Old 12-07-2004, 07:32 AM   #6
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
No need to logout and login in-order to run applications as root.
If a program is in your path, you can invoke it from the console as root. for example:
1) su
2) password
3) nano /home/user/textfile

nano is a quick console text editor but you may call any other app you wish (e.g. gedit [Gnome] or kwrite [KDE]).

I think in most cases there is no need to use dpkg directly.
Learn how to use apt-get (apt is one of the reasons why many people chooze Debian), google for apt howto. Then check out Synaptic which is a nice graphical implementation of apt.

Good luck.

Last edited by yotamk; 12-07-2004 at 07:33 AM.
 
Old 01-06-2005, 03:41 PM   #7
abhijeetudas
Member
 
Registered: Sep 2004
Distribution: Redhat / Fedora
Posts: 114

Rep: Reputation: 15
the simplest way: after login in X window as normal user go to GNOME menu bar
select "system tools"
then something like "login screen setup". The system will prompt you for the root password. After that in the following panel select the item "security" there you can select the option show root login in graphical mode. At next login in X window you can use root as login!


other way:

login as root in text mode then startx -- :1 vt8
then ctrl + alt F8 and the X window will appear as root!
 
  


Reply



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
root, opening and console Niflheim Linux - Newbie 7 01-25-2005 12:59 PM
Opening X progs as root. shaggz Linux - General 1 04-28-2004 11:00 PM
Problem opening windows as root Crashlander42 Linux - Newbie 5 04-02-2004 09:21 PM
opening a file as root in KWrite Moebius Linux - Newbie 4 01-26-2004 06:24 AM
opening ports below 1024 without being root? meks Linux - Networking 2 12-25-2003 06:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 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
Open Source Consulting | Domain Registration