LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-14-2010, 05:33 PM   #31
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56

Quote:
Originally Posted by Sumguy View Post
What is a "root password" though? -And if I do that, will I have to enter that password each time I start Ubuntu? (I got that to stop...hate to make it start again.....)
This will unlock the user account named "root", which in turn you can log into and then run plenty of administrative tasks without being harassed by gksudo or PolicyKit (which in my opinion both resemble WinBloze $hista UAC).
 
1 members found this post helpful.
Old 07-14-2010, 06:02 PM   #32
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by Telengard
Ubuntu is shipped with sudo which gives you the power of root for a single action only.
You can achieve basically the same effect with su -c "<command here>", and it asks for the root password.

Personally I don't like the "sudo says" policy on Ubuntu, which is why I've actually assigned a root password to my Ubuntu machine. Just do what Kenny said above and do a sudo passwd, and type in whatever password you want to use for the root account (twice, as it needs confirmation), and after that you can use su -c in place of sudo, or you can just su to a root terminal if you need to do multiple things. This is what I do on Arch.

Quote:
Originally Posted by Kenny_Strawn
This will unlock the user account named "root", which in turn you can log into and then run plenty of administrative tasks without being harassed by gksudo or PolicyKit
I would actually highly advise against this. Having root GUI access means having absolute power. If you accidentally issue a command (or do something in a GUI program) that would normally just b0rk the files you have read/write permissions for as a normal user, as root you would b0rk everything. Not to mention you're a lot more open to remote vulnerabilities/attacks. Just don't log into X as root.

Last edited by MrCode; 07-14-2010 at 06:11 PM.
 
1 members found this post helpful.
Old 07-15-2010, 11:21 AM   #33
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
GUI login is bad, but this discussion is moot. gdmsetup doesn't have that option anymore.
 
Old 07-15-2010, 05:05 PM   #34
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by MrCode View Post
I would actually highly advise against this. Having root GUI access means having absolute power. If you accidentally issue a command (or do something in a GUI program) that would normally just b0rk the files you have read/write permissions for as a normal user, as root you would b0rk everything. Not to mention you're a lot more open to remote vulnerabilities/attacks. Just don't log into X as root.
And what if the reason why the OP migrated to Linux is to get away from Windows <Hasta La> Vista User Account Control, only to find out that Linux is just as bad if you're not logged in as root? Not logging in as root and being harassed by gksudo and PolicyKit isn't going to solve that problem.
 
1 members found this post helpful.
Old 07-15-2010, 05:47 PM   #35
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465

Original Poster
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by Kenny_Strawn View Post
And what if the reason why the OP migrated to Linux is to get away from Windows <Hasta La> Vista User Account Control, only to find out that Linux is just as bad if you're not logged in as root? Not logging in as root and being harassed by gksudo and PolicyKit isn't going to solve that problem.
And that IS one of the reasons I wanted to get away from Winders!

I don't understand why some make an issue of this. Since it's my computer, I can get into root and/or anything else either way- the only difference is, if I log on as root, I don't have to keep entering the password every time I do something- it's just a convenience. Either way, I can screw up the system if I am so inclined.

Just one question: If I log on as root, do I have to do so again every time I boot Ubuntu; or just once? (I really don't intend to do anything fancy in terminal- my only goal for not wanting the password prompts is really just so I don't get them in GUI when I try and do innocuous things through the GUI. That being said, I did find a very helpful tutorial that tells all about the various things one can do in terminal- but I can guarantee everyone that I won't be doing anything fancy with it- just as I could access regedit in Winders....but never cared to mess with it)

(((Maybe I shouldn't mention that I tried accessing a terminal through the keyboard shortcut, and couldn't figure out how to get out of it, and finally did so with Cntrl+Alt+delete [when all else fails...revert to windows behavior]....but I have since learned I just needed to type "q".)))

To tell ya's the truth though, since I got rid of the boot-up password prompt, and the screen-saver prompt, I'm not that eager anymore to defeat the other root level password prompts- I'm pretty much at a comfort level I can live with.

Anywho, since reading the tutorial on root and using the terminal and all, I now feel that I at least have somewhat of a clue as to what you are all talking about- and i now feel much more confident about LINUX.

One more question while I've got youse[sic] (Ex-New Yorker here....)- when the day comes that I want to permanently say Hasta La Vista, Vista, is there any way to erase Vista from it's partition and free up that space for more Ubuntu space?

-Sum I-will-not-break-Ubuntu Guy
(Microsoft-free for 3 days now...and loving it!)

Last edited by Sumguy; 07-15-2010 at 05:50 PM.
 
Old 07-15-2010, 05:56 PM   #36
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Sumguy View Post
I don't understand why some make an issue of this. Since it's my computer, I can get into root and/or anything else either way- the only difference is, if I log on as root, I don't have to keep entering the password every time I do something- it's just a convenience. Either way, I can screw up the system if I am so inclined.
Very much in the same way you're allowed to drive
w/o a seat-belt and not having a warrant of fitness
on the car ...

Your car ... but does it use public roads?

Your computer - is it on the net?



Cheers,
Tink
 
Old 07-15-2010, 06:02 PM   #37
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by Sumguy View Post
And that IS one of the reasons I wanted to get away from Winders!

I don't understand why some make an issue of this. Since it's my computer, I can get into root and/or anything else either way- the only difference is, if I log on as root, I don't have to keep entering the password every time I do something- it's just a convenience. Either way, I can screw up the system if I am so inclined.

Just one question: If I log on as root, do I have to do so again every time I boot Ubuntu; or just once? (I really don't intend to do anything fancy in terminal- my only goal for not wanting the password prompts is really just so I don't get them in GUI when I try and do innocuous things through the GUI. That being said, I did find a very helpful tutorial that tells all about the various things one can do in terminal- but I can guarantee everyone that I won't be doing anything fancy with it- just as I could access regedit in Winders....but never cared to mess with it)

(((Maybe I shouldn't mention that I tried accessing a terminal through the keyboard shortcut, and couldn't figure out how to get out of it, and finally did so with Cntrl+Alt+delete [when all else fails...revert to windows behavior]....but I have since learned I just needed to type "q".)))

To tell ya's the truth though, since I got rid of the boot-up password prompt, and the screen-saver prompt, I'm not that eager anymore to defeat the other root level password prompts- I'm pretty much at a comfort level I can live with.

Anywho, since reading the tutorial on root and using the terminal and all, I now feel that I at least have somewhat of a clue as to what you are all talking about- and i now feel much more confident about LINUX.

One more question while I've got youse[sic] (Ex-New Yorker here....)- when the day comes that I want to permanently say Hasta La Vista, Vista, is there any way to erase Vista from it's partition and free up that space for more Ubuntu space?

-Sum I-will-not-break-Ubuntu Guy
(Microsoft-free for 3 days now...and loving it!)
First of all, the root account is normally locked in Ubuntu, and Ubuntu uses the password prompts instead for security.

This is what sudo passwd does: It unlocks the root account so you can log into it and not be prompted every time you go and change a system setting.

And logging into root will need to be done every time if you don't want to be prompted...
 
0 members found this post helpful.
Old 07-15-2010, 06:11 PM   #38
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
It never ceases to amaze me how many of our members here at
LQ are happy to give poor advice. :/

I'll give them the benefit of the doubt, and blame it on ignorance
rather than malice.



Cheers,
Tink
 
3 members found this post helpful.
Old 07-15-2010, 07:49 PM   #39
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Tink, why do you think my post is poor advice?

I only was agreeing with the OP's burden of migrating away from WinVista because of UAC only to be getting similar harassment (e.g. UAC-like prompts) by Linux...

Last edited by Kenny_Strawn; 07-15-2010 at 07:51 PM.
 
Old 07-15-2010, 08:27 PM   #40
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465

Original Poster
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by Tinkster View Post
It never ceases to amaze me how many of our members here at
LQ are happy to give poor advice. :/

I'll give them the benefit of the doubt, and blame it on ignorance
rather than malice.



Cheers,
Tink
But I thought one of the basic ideas behind LINUX was that it allowed the user to make it into what he wants it to be? If I were not able to log on as root, Ubuntu would be less functional than Windows, because in Windows, I can get into the registry; the system folders, etc.- in fact, I'd say it is far easier to botch-up Windows than it would be to do so to LINUX. (Just try removing a few DLL or cab files in Windows...)

One of the things that attracted me to LINUX was the ability to fully customize it and fully control it- as opposed to just being a consumer and getting an OS to merely do what you want with little flexibility but great simplicity.

While I do appreciate being warned and made aware of the potential consequences of what some have recommended, you have to understand that there is a difference between that and actually trying to dictate the level of risk that others are willing to take.

While I wouldn't want to botch-up my LINUX, if I actually DID botch it up, the consequences would not be dire for me- as I have a dual booted machine- so all of my files are safely waiting for me in the Windows partition; and I also made a hard copy back-up of really important files on DVD before I installed Ubuntu- so basically, if I totalled my OS, all I'd have to do is re-install it from the ISO CD and reconfigure my email settings and download a few things like Flash and a code pack. No biggie.

And as I stated above, I'm not going to log on as root (not unless something specific comes up which causes the need, anyway...) because I got rid of most of the annoying prompts already, and now that I have my OS configured, I will rarely be seeing the administrative prompts....so why have to log on as root every time I boot the system?

I do appreciate your concern though. Believe me, come the day that I'm staring at the terminal, wondering if what I'm about to do is correct or not...I will remember your words....while thanking the others for making it possible for me to have the power of life or death over my OS, just like i thank the Founding Fathers of the US for making it possible for me to have firearms- whether I shoot myself or protect my home from criminals with those firearms is up to me.

Last edited by Sumguy; 07-15-2010 at 08:29 PM.
 
Old 07-15-2010, 08:46 PM   #41
diamondsandrain
Member
 
Registered: Oct 2009
Location: Canada
Distribution: Gentoo, Slackware, Arch
Posts: 97

Rep: Reputation: 21
Quote:
I do appreciate your concern though. Believe me, come the day that I'm staring at the terminal, wondering if what I'm about to do is correct or not...I will remember your words....while thanking the others for making it possible for me to have the power of life or death over my OS, just like i thank the Founding Fathers of the US for making it possible for me to have firearms- whether I shoot myself or protect my home from criminals with those firearms is up to me.
Ah yes, but running Linux using root is like permanently leaving the safety control off on your gun. It leaves you open to "accidents".
 
Old 07-15-2010, 09:16 PM   #42
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Quote:
Originally Posted by diamondsandrain View Post
Ah yes, but running Linux using root is like permanently leaving the safety control off on your gun. It leaves you open to "accidents".
http://www.linuxquestions.org/questi...ml#post4034714
 
Old 07-15-2010, 09:36 PM   #43
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Kenny_Strawn View Post
How's pointing him at your question to me an answer
to diamondsandrain's question to sumguy?

What people tend to chose to ignore is that as soon
as you take your vehicle onto a public road (your
computer on the net) it's not only yourself anymore
that you're putting at risk or are a potential nuisance
to. And that's the bottom line as far as I'm concerned.



Cheers,
Tink
 
1 members found this post helpful.
Old 07-15-2010, 09:39 PM   #44
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
Tink, it's about sudo being like WinUAC.
 
Old 07-15-2010, 09:43 PM   #45
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
I found that as a new linux user, it was easier for me to run as root while I was learning my way. I ruined my system 3 times the first month , but that was OK with me........kinda. I learned long before that anything important is to be backed up. I later learned that my systems hadn't been as ruined as I'd thought, but it was too late since I'd probably not just reinstalled, but changed distros twice by then. I don't feel that telling someone how to run as root, even in a GUI is wrong. Telling someone to do it is. I mean,is it wrong for Slackware, Arch, etc. to have the first/only user created during installation be the root account? No. There are perfectly good reasons to log in as root, and for a newbie it's probably easier, even if it is dangerous. From this thread, it seems likely that the OP is probably going to wind up on one of the less hand-holding distros anyway if he sticks to linux. He might as well learn to work as root now, if his experiences work like mine, he'll later learn WHEN to work as root.
 
  


Reply



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
Prompts password for squid using NTLM tanveer Linux - Server 3 06-24-2013 01:36 AM
Firefox (Iceweasel): two password prompts? z-vet Linux - Desktop 2 08-20-2009 01:19 PM
(Samba 3.0.20) Vista prompts for username, XP prompts just for password Noffie Linux - Server 2 07-21-2008 10:26 AM
KNetworkManager always prompts for password twice TechnoJunky Linux - Networking 2 02-03-2008 04:40 PM
passwd prompts for new password only once when a short password is entered powah Linux - Security 0 09-19-2007 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 PM.

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