LinuxQuestions.org
Visit Jeremy's Blog.
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


Closed Thread
  Search this Thread
Old 04-06-2013, 12:22 PM   #1
godoten
Member
 
Registered: Dec 2010
Posts: 36

Rep: Reputation: 0
Lightbulb [How to log in as root on Debian-6]


[How to log in as root on Debian 6]

Dear novice friends,

I have found easy way to login as root on Debian6 by accident:

I find the graphic login interface is rather annoying. So as soon as I installed Debian-6 from CD + Internet connection, went to /etc/rc2.d/ and deleted(put away to other place to back up) @S20dgm3 from there. And when I rebooted, the booting stopped at the console "login:". If you login as "root" with your "root pass word" there you could login as root. Then you only have to type command "startx" and press enter. You would be on your root desktop(GUI) with everything working as they should do.

You should also visit: Ultimate Logic [Tenpage] by Otomakas who says "You do not have to die".
http://tenpage.pwp.blueyonder.co.uk/en/welcome.html
This short massage is the only real essential reading since the beginning of this Earth generation for everyone on Earth.

Happy messing about
,---godoten
 
Old 04-06-2013, 12:49 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

I take it you wanted to login as root!! Otherwise this is not good practice. The use of sudo would be a better option and safer
 
Old 04-07-2013, 01:01 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Then you only have to type command "startx" and press enter. You would be on your root desktop(GUI) with everything working as they should do.
Can you explain why you would want to do this? It is generally considered an extremely bad idea.
jdk
 
Old 04-07-2013, 01:29 AM   #4
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
One post in a different thread was not enough?
You had to start a new thread with the same nonsense?
I am beginning to think troll.
Quote:
I find the graphic login interface is rather annoying.
Then remove the display manager. You will boot into the CLI every time and enter startx. Same result: CLI log-in. So what is the purpose?
Quote:
You would be on your root desktop(GUI) with everything working as they should do.
This logic is baffling. It suggests that things do not work properly if logging in as a user without root privileges. Or more likely, you have a complete ignorance of the purpose of the UNIX, Linux, BSD file systems.
Quote:
You should also visit: Ultimate Logic [Tenpage] by Otomakas who says "You do not have to die".
Perhaps my earlier assessment of you was incorrect. You now appear to be both a troll and a spammer.
 
Old 04-07-2013, 10:18 AM   #5
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
See, Linux is *not* Windows, where everybody logs in as Administrator (or with a user given full Administrator privileges) on their desktop because the Windows system is annoying. That's Windows. Try to wrap your head around the fact that *nix systems are *different*. Ignore all the well-meaning advice as you wish, but then, why ask in the first place..
 
Old 04-07-2013, 10:42 AM   #6
bloody
Member
 
Registered: Feb 2013
Location: Berlin
Distribution: Gentoo, Debian
Posts: 172

Rep: Reputation: 25
To all novices out there,

Please do NOT follow the "advice" of the OP because that person is clueless. Doing so would compromise your system security big time and it's also not required anyhow. In 15 years of using Linux, i never had to login as root to my desktop. Not ever.

Besides, deleting that link/file is a foolish approach also, as there are better ways to accomplish the same thing, leaving the original system installation intact while also circumventing any need to type the "startx" command every single time.

Admins, this thread can be closed as duplicate/spam.

Last edited by bloody; 04-07-2013 at 10:47 AM.
 
Old 04-07-2013, 07:29 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...5/#post4926393

Last edited by colucix; 04-07-2013 at 07:34 PM. Reason: fixed link
 
  


Closed Thread


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
I need to log in as root in GUI (Debian) hashbangbinbash Linux - Newbie 53 10-31-2013 06:26 PM
[SOLVED] Debian 6 new install: Can't log in as user or root Landshark Debian 16 08-01-2011 03:46 PM
[SOLVED] Some application installation questions: log in as root or log in as 'user' & do 'su' Robert.Thompson Slackware 9 02-25-2011 08:19 AM
Fedora 12 cannot log in as root, cannot su nor log into bash Neo-New Fedora 7 06-24-2010 12:48 PM

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

All times are GMT -5. The time now is 05:54 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