LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-12-2007, 02:21 PM   #1
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Rep: Reputation: 30
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.
 
Old 06-12-2007, 02:33 PM   #2
tanstaafl4y
LQ Newbie
 
Registered: Sep 2006
Distribution: Ubuntu 7.04
Posts: 25

Rep: Reputation: 15
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.
 
Old 06-12-2007, 06:30 PM   #3
imhennessy
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Rep: Reputation: 0
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
 
Old 06-12-2007, 06:42 PM   #4
angryfirelord
Member
 
Registered: Dec 2005
Distribution: Fedora, CentOS
Posts: 515

Rep: Reputation: 66
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.
 
Old 06-14-2007, 06:20 PM   #5
Digital Surgeon
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Ubuntu 7.10 - Gutsy Gibbon(Desktop Edition)
Posts: 184

Original Poster
Rep: Reputation: 30
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.
 
Old 06-14-2007, 06:34 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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)....
 
  


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
Urgent Help! Ubuntu + Xp Professional Dual Boot Error sako75 Ubuntu 20 11-13-2007 02:14 AM
AC3-URGENT-Ubuntu Breezy Majic14lyfe Linux - Software 5 06-09-2006 02:06 PM
Urgent! Deleted Root! goosie Mandriva 12 06-30-2005 08:50 PM
forgot root passwd urgent nimaelec1 Red Hat 4 02-17-2005 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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