how do i set system to let me login as root?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

how do i set system to let me login as root?

Postby leo5111 on Sun Apr 27, 2008 11:11 pm

ok now i cant login as root from login screen i enabled root password when i first installed or how do i set it now so i can login as root thanx
User avatar
leo5111
Level 4
Level 4
 
Posts: 312
Joined: Tue Mar 11, 2008 2:32 am
Location: Escaped From Xp Hell

Linux Mint is funded by ads and donations.
 

Re: how do i set system to let me login as root?

Postby Fred on Sun Apr 27, 2008 11:20 pm

leo5111,

This is a very bad idea. Why would you want to log in as root? Running as root opens up all kinds of problems and is not advised.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: how do i set system to let me login as root?

Postby leo5111 on Mon Apr 28, 2008 12:27 am

i only do it for stuff says to login as root
User avatar
leo5111
Level 4
Level 4
 
Posts: 312
Joined: Tue Mar 11, 2008 2:32 am
Location: Escaped From Xp Hell

Re: how do i set system to let me login as root?

Postby Fred on Mon Apr 28, 2008 12:54 am

leo5111,

Use sudo instead in Gnome. If you need to start a GUI app in KDE as root use kdesu. Examples:

Gnome ---- gksu gedit /somefolder/somefilename

KDE -------- kdesu kate /somefolder/somefilename

For terminal commands in both KDE and Gnome:

sudo apt-get install someprogram

I can see no need to ever be logged into the GUI as root. In fact, I always advise Ubuntu/derivative users not to even set a root password.

Fred
Last edited by Fred on Mon Apr 28, 2008 4:16 am, edited 1 time in total.
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: how do i set system to let me login as root?

Postby ed@Mint on Mon Apr 28, 2008 3:06 am

Fred wrote:Gnome ---- sudo gedit /somefolder/somefilename

For graphical apps in Gnome, you have to run 'gksu'
Code: Select all
gksu gedit /somefolder/somefilename
In libro veritas

Now switched to : ArchLinux

New users, read the Linux Mint User Guide | Problem ? See the Wiki first | Check out the Software Portal | Join the IRC channel : #linuxmint @ irc.spotchat.org
User avatar
ed@Mint
Level 5
Level 5
 
Posts: 565
Joined: Sun Mar 09, 2008 6:03 pm
Location: Liege, Belgium

Re: how do i set system to let me login as root?

Postby Fred on Mon Apr 28, 2008 4:14 am

ed@Mint,

ooops! ... You are absolutely, 100% correct. :-)

I don't know what I was thinking, if anything, but I was wrong. Thanks for correcting me.

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: how do i set system to let me login as root?

Postby ed@Mint on Mon Apr 28, 2008 5:09 am

@Fred : :wink: Iguess that's why we call this a community :)

@Leo5111 : When a command tells you you have to 'login as root', it doesn't mean you have to log on the whole system as root, it means you have to launch that command with super user privileges.
In libro veritas

Now switched to : ArchLinux

New users, read the Linux Mint User Guide | Problem ? See the Wiki first | Check out the Software Portal | Join the IRC channel : #linuxmint @ irc.spotchat.org
User avatar
ed@Mint
Level 5
Level 5
 
Posts: 565
Joined: Sun Mar 09, 2008 6:03 pm
Location: Liege, Belgium

Re: how do i set system to let me login as root?

Postby atlef on Mon Apr 28, 2008 8:25 am

What about gksudo, am I missing something?

atlef.
User avatar
atlef
Level 4
Level 4
 
Posts: 306
Joined: Sun Nov 18, 2007 8:20 am
Location: Stavanger NORWAY

Re: how do i set system to let me login as root?

Postby ed@Mint on Mon Apr 28, 2008 8:29 am

atlef wrote:What about gksudo, am I missing something?

Read the whole thread :roll:
It's not 'kdesudo' or 'gksudo' it's kdesu or gksu
In libro veritas

Now switched to : ArchLinux

New users, read the Linux Mint User Guide | Problem ? See the Wiki first | Check out the Software Portal | Join the IRC channel : #linuxmint @ irc.spotchat.org
User avatar
ed@Mint
Level 5
Level 5
 
Posts: 565
Joined: Sun Mar 09, 2008 6:03 pm
Location: Liege, Belgium

Re: how do i set system to let me login as root?

Postby linuxviolin on Mon Apr 28, 2008 9:02 am

Repeat after me: I NEVER log in as root, I NEVER log in as root, I NEVER log in as root................ :lol:

Please follow the recommendations of Fred :wink:
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
linuxviolin
Level 8
Level 8
 
Posts: 2055
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: how do i set system to let me login as root?

Postby ed@Mint on Mon Apr 28, 2008 9:24 am

linuxviolin wrote:NEVER log in as root

Yeah anyway the only useful command as root is
Code: Select all
cd /windows
sudo rm -rf *.dll

:lol:
In libro veritas

Now switched to : ArchLinux

New users, read the Linux Mint User Guide | Problem ? See the Wiki first | Check out the Software Portal | Join the IRC channel : #linuxmint @ irc.spotchat.org
User avatar
ed@Mint
Level 5
Level 5
 
Posts: 565
Joined: Sun Mar 09, 2008 6:03 pm
Location: Liege, Belgium

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: colyn, Google [Bot] and 11 guests