LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2008, 07:12 PM   #1
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool How to login as root , similar logging as normal user?


Can anybody help me this simple problem
I need to login as root , when linux starts to show login window

But it shudnt be as
1) spawning a new terminal and do commands lik startx -- :3
2) without going in recovery mode

I need to login thru login window as normal process

Plz help me brothers !!!
 
Old 12-12-2008, 07:17 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Are you talking about terminal login or graphical? Some display managers (login managers) do not allow root login by default.

The best method is to always log in (anywhere) as a normal user. When you need root powers, just use "su" or "sudo".
 
Old 12-12-2008, 07:21 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Be sure you use su - (su space dash) as it is different than just su. The - gives you the root path setup as well as root permissions (which can make a huge difference).
 
Old 12-12-2008, 07:21 PM   #4
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Talking Yes graphically

yes sir, without having terminal and having commands su - , or sudo , can i perform login as graphically ?
Does Ubuntu perform and allow this operation?
 
Old 12-12-2008, 07:26 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
As I said, some login managers will not allow this.

What happens if you try?

Find the settings for login (or maybe display) manager, and there should be an option to enable root login.
 
Old 12-12-2008, 07:30 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 9 (stretch)
Posts: 3,360

Rep: Reputation: 126Reputation: 126
Quote:
Originally Posted by vibinlakshman View Post
yes sir, without having terminal and having commands su - , or sudo , can i perform login as graphically ?
Does Ubuntu perform and allow this operation?
What moves you to think you actually *need* to do this? If it's because that's the way you always did it in Windows, then the best advice you'll get from any of us is to let it go. You do not want to log into your system as the root user except under very specific circumstances. Take the advice already given and login in as a regular user, then su or sudo to accomplish what you need as root.
 
Old 12-12-2008, 07:37 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Here is an explanation of how to create a root account in Ubuntu:
http://digiassn.blogspot.com/2006/07...in-ubuntu.html

Here is an explanation of how to allow root login in Ubuntu:
http://digiassn.blogspot.com/2006/10...er-ubuntu.html

-------------------
Steve Stites
 
Old 12-12-2008, 07:54 PM   #8
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Original Poster
Rep: Reputation: 33
Thumbs up Guru u rocked !!

It was really the stuff i needed, 1000 thanks man..
I was luking to do it for many mnths, but didnt got the result , small and crisp tricks
Thankssssss
 
  


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
OpenOffice 2.3.1 and True Type fonts when logging in as a normal user boris-78 Linux - Software 3 02-14-2008 06:59 AM
Fluxbox not starting when logging in as normal user Hit3k Linux - General 7 10-11-2006 03:18 AM
Can't login to FluxBox as normal user (only as root) gpl_racer Mandriva 7 05-11-2005 07:31 PM
Can't login in X as a normal user but root laxteryx Linux - General 2 11-09-2004 01:14 PM
Logging in as root after ¨normal" account created Xalies Linux - Newbie 2 08-02-2004 02:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration