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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-12-2008, 07:12 PM
|
#1
|
Member
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334
Rep:
|
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 !!!
|
|
|
12-12-2008, 07:17 PM
|
#2
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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".
|
|
|
12-12-2008, 07:21 PM
|
#3
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep:
|
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).
|
|
|
12-12-2008, 07:21 PM
|
#4
|
Member
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334
Original Poster
Rep:
|
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?
|
|
|
12-12-2008, 07:26 PM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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.
|
|
|
12-12-2008, 07:30 PM
|
#6
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407
Rep:
|
Quote:
Originally Posted by vibinlakshman
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.
|
|
|
12-12-2008, 07:54 PM
|
#8
|
Member
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334
Original Poster
Rep:
|
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 05:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|