Ubuntu This forum is for the discussion of Ubuntu Linux. |
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.
|
|
06-12-2007, 02:21 PM
|
#1
|
Member
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184
Rep:
|
root error on ubuntu 7.04(URGENT)
Hello,
I am new to Ubuntu 7.04.
Can someone please explain to me why you
run
steve@steve-desktop:~$ sudo su
to become root instead of just like in Fedora you just typed "su root".
Also when you "sudo su" and become root
via
root@steve-Desktop:~$
Why when you close the terminal window, does it act like you are not root.
I have ubuntu 7.04 Fiesty Fawn installed on the same hard drive as Windows.
Any ideas.
|
|
|
06-12-2007, 02:33 PM
|
#2
|
LQ Newbie
Registered: Sep 2006
Distribution: Ubuntu 7.04
Posts: 25
Rep:
|
I just reread your post. To answer your question -because its ubuntu, and they say its "safer" that way. The text below was my halfcocked responce, to your quickly skimmed post
not sure if this helps-- When I need to run several 'root' commands in terminal I first use the command
sudo -i
This logs me in as root for the remaineder of the "terminal session" I always use the command
exit
twice to close the terminal window. (first one kills the root access)
I'm not sure if there is a way to have root access to files/folders using the GUI.
Last edited by tanstaafl4y; 06-12-2007 at 02:41 PM.
|
|
|
06-12-2007, 06:30 PM
|
#3
|
LQ Newbie
Registered: Jan 2007
Posts: 16
Rep:
|
GUI root
First warning: I am using Edgy Eft Xubuntu. But I think it is possible to:
user@Desktop:~$ sudo su
Password:
root@Desktop:~$thunar &
and run Thunar as root.
I have not yet tried this with other GUI front ends, although some programs will automatically ask for your root password before you can access them.
ivan
|
|
|
06-12-2007, 06:42 PM
|
#4
|
Member
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515
Rep:
|
Doing sudo su does not make everything you run have root access (that would be very bad if it did). If you need an application to have root access, just type its command in there when you do sudo su.
|
|
|
06-14-2007, 06:20 PM
|
#5
|
Member
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184
Original Poster
Rep:
|
Hi,
Yes thank you, I just want to clarify that I have figured out my issue, I was just confused between Fedora and Ubuntu linux.
|
|
|
06-14-2007, 06:34 PM
|
#6
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Anticlimactic snippet:
The first thing I do on any Ubuntu install is enable the root account:
sudo passwd root
Then Ubuntu behaves like all normal distros--except that certain config files want your regular user password instead of root password like everyone else.
The better fix? Install Mepis (Based on Ubuntu, but without this nonsense)....
|
|
|
All times are GMT -5. The time now is 12:11 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
|
|