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 |
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.
|
 |
07-21-2012, 09:08 AM
|
#1
|
Member
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165
Rep:
|
Unable to open the web browser as root user
Hi everyone,
I am a newbie and i am unable to run my default web browser chromium as root. I use sabayon 8 linux. As i open the browser this pops up.
Code:
Please run chromium as normal user, To run as root you must specify an alternate --user-data-dir for storage of profile information.
What does this mean, and what is to be done. Kindly help. Thank you.
Regards...
|
|
|
07-21-2012, 09:13 AM
|
#2
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
It means that running your web browser as root is arguably the worst thing you could possibly do from a security standpoint. Explain why you want to give the entire internet root access to your system?
|
|
|
07-21-2012, 09:26 AM
|
#3
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,681
|
I would suggest that if you don't know what the error message means you probably don't know enough to make the decision to run your web browser as root. It suggests to me you just have to specify a directory into which user data will be stored, since you're running the browser with a user it wasn't designed to be run as.
|
|
|
07-21-2012, 11:24 AM
|
#4
|
Member
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165
Original Poster
Rep:
|
@snowpine I am studying how to configure apache web server 1.3.X under linux. In the book they mention all httpd operations are to be run as super user. As i log in to root, I wont be able to access internet for any help because i don't have a web browser.
|
|
|
07-21-2012, 11:34 AM
|
#5
|
Senior Member
Registered: Feb 2009
Posts: 4,667
|
I think you need a new book.  The current Apache version is 2.2. Apache 1.3 dates to the 1990s and is now "end of life." Your book's suggestion to browse the web as root is, to be blunt, terrible advice.
Have you seen the documentation here?
http://httpd.apache.org/docs/
|
|
|
07-21-2012, 11:38 AM
|
#6
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,681
|
abhishekgit, there is no need to log in as root. You should log in as your usual user account then either open a "root terminal" if your distro provides it or open a terminal and su to root in the terminal. That way you can perform root commands in the terminal and open your browser as your normal user account.
|
|
|
07-21-2012, 12:25 PM
|
#7
|
Member
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165
Original Poster
Rep:
|
@all
I never tried it logging in as normal user and using su. Never occurred to me. Thank you all for your time. :-)
|
|
|
07-21-2012, 12:27 PM
|
#8
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,681
|
You're welcome. Please set the thread solved if it works  .
|
|
|
07-22-2012, 09:11 PM
|
#9
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,443
|
note that
Code:
# this gives your root user, but orig user's env
su
# this gives you root user & root env
su -
|
|
|
All times are GMT -5. The time now is 03:11 PM.
|
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
|
|