LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to login as root , similar logging as normal user? (https://www.linuxquestions.org/questions/linux-software-2/how-to-login-as-root-similar-logging-as-normal-user-690204/)

vibinlakshman 12-12-2008 06:12 PM

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 !!!

pixellany 12-12-2008 06:17 PM

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".

lazlow 12-12-2008 06:21 PM

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).

vibinlakshman 12-12-2008 06:21 PM

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?

pixellany 12-12-2008 06:26 PM

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.

Quakeboy02 12-12-2008 06:30 PM

Quote:

Originally Posted by vibinlakshman (Post 3373591)
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.

jailbait 12-12-2008 06:37 PM

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

vibinlakshman 12-12-2008 06:54 PM

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


All times are GMT -5. The time now is 11:04 PM.