

leslie wrote:Hello people. Nice to be with you!
Just trying mint. By some amazing luck I managed to get my ATI card installed ok. Phew, lotta hassle with Ubunto based distros I believe? Anyway, top marks for a nice functioning distro. To my question -
I am trying to login as root/admin but apparently I can't do that from the login screen? What's up?. That's ok if I can get file access with a kinda Super User Mode editor, has mint got one? - Oh rather not use Terminal.
Cheers
Les



leslie wrote:Thanks marcus0263. I know the risks but I'm not used to not having this control. If there's a way to do it I would really like to know. If not, then how can I delete unwanted files/folders - like unused pre-installed wi-fi stuff that I don't use.
sudo susudo passwd



Only true for newbies who might be tempted to permanently work as root (BAD IDEA!!). But if you know what you do it's perfectly safe. And logging in as root is sometimes even necessarymintero wrote:Logging as root is not a good idea (for security reasons)

Disagreescorp123 wrote:Only true for newbies who might be tempted to permanently work as root (BAD IDEA!!). But if you know what you do it's perfectly safe. And logging in as root is sometimes even necessarymintero wrote:Logging as root is not a good idea (for security reasons)But again: For long as you know what you do ....

marcus0263 wrote:I can't really think of a reason to log in with a GUI as root, I won't ever say never, but I really can't think of a reason other than laziness or n00bness.

vonskippy wrote:<snip>
I do almost everything from the cli, and yes, I'm that lazy in not wanting to type sudo everything.
sudo susudo su - rootvonskippy wrote:The advantage of Linux and it's numerous flavors and choices is variety, so I find it ironic that some people defend their personal choices by calling other people either lazy or stupid for not agreeing with their OPINION.

gnome-terminal -e 'sudo su'gnome-terminal -e 'sudo su - root'
I agree and for information gksu works in sudo-mode by default in ubuntu. (Everybody can verify it in the Configuration Editor, if they have activated this tool)marcus0263 wrote:What ever needs to be done can be done in a root term and if you must you can run the GUI app as root with tools like gksu and gksudo.

Good post minteromintero wrote:I agree and for information gksu works in sudo-mode by default in ubuntu. (Everybody can verify it in the Configuration Editor, if they have activated this tool)
Sudo has limited privileges and does the work. Why take more risk? Sudo's 5 min grace period could be a flaw, but one can change it and here's how:
In the terminal: sudo visudo
Add this line: Defaults:ALL timestamp_timeout=0
Exit (Ctrl+X)
It asks if you want to save: so save to /etc/sudoers
In this way, sudo doesnt keep the password for 5 min (the default), but asks for the password every time.
So if you are performing an administrative task and at the same time you open another program which needs admin rights as well, sudo will ask for the password again. That means that a malicious program can't exploit the time during which you are using sudo.

Nope, in fact we agree. I wasn't talking about GUI logins but logging into the system as root in general, e.g. via shell, local terminal, whatever.marcus0263 wrote:Disagree.
Dito. I wasn't thinking of this possibility.marcus0263 wrote: I can't really think of a reason to log in with a GUI as root
That's what I said ... or meant to say.marcus0263 wrote: What ever needs to be done can be done in a root term

That's precisely why it is dangerous. If you login as root into e.g. GNOME or KDE and then open a file manager, and you drag the mouse around ... what if you by accident perform a drag & drop operation? You are in control, right. The computer will do as you say, it will move a bunch of files without asking you, without babysitting you ...vonskippy wrote:Sorry to disagree, but being neither lazy or a noob, I control what I do to my computers - not the other way around.

Agreed -scorp123 wrote:There are other security implications too when logging in as root, e.g. a bunch of stuff normally under non-priviledged ordinary user control all of a sudden enjoys the full powers of the root account ... and that can have bad consequences too, depending on what strange or funny things you (by accident?) set in motion ...



Lolo Uila wrote:The issue for me when I see this question posted every week or so isn't the ol' whether or not you should log in as root argument; it's more like should we tell people that ask this question how?
As leslie discovered it's really quite easy to do in Mint, and when anyone has to ask for help with this I find myself wondering if they really are knowledgeable enough to use root safely. I was a complete noob and it took me less than 5 minutes to figure it out when I looked into it back when I first started using Mint.
As for the argument about "Mepis, Gentoo, Fedora, etc. let me do it", well then you are welcome to keep using any of those distros. No one is forcong you to use Mint. Mint is not a distro for hard core Linux fanatics. If you want maximum control over your computer and the OS I'd suggest Gentoo or Slackware.
Mint is targeted at new users and Windows converts, and as such is designed to be both simpler and safer to use. Nothing in Mint is a deep, dark secret, though. That simple philosophy even extends to things like enabling the root account and root login to the GUI. So instead of spending 10 minutes typing up a rant about why we should tell you how to do this, spend 5 minutes figuring it out for yourself.
Aloha, Tim
PS: Everyone really should take the time to learn how to use the terminal and command shell. GUI login as root is a bad habit to get into, and it's not something you should depend on (it won't help you fix things when your system won't boot).



Users browsing this forum: No registered users and 4 guests