LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-31-2016, 05:13 PM   #16
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311

Quote:
Originally Posted by hydrurga View Post
What have you got against a subset of Linux distros deciding to do things in a way that keeps things simple while forcing/encouraging users to not run as root normally?

I can't imagine why you've picked on this one. It suits people, it enforces security, it's harmless.

So, why?
I have always installed user and root accounts in my Linux systems. Then a few years ago various distributions decided to block me from installing root accounts. This makes installation of these distributions more difficult as I have to go through the system files and find and undo the various blocks to a functioning root account. I consider having an installer block root accounts a completely unnecessary nuisance.

--------------------
Steve Stites
 
Old 07-31-2016, 05:46 PM   #17
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,072

Rep: Reputation: Disabled
I wonder what you call functioning root account, never had any difficulties gaining root access with sudo -i, it works even with "disabled" root account.
 
Old 07-31-2016, 10:25 PM   #18
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,498
Blog Entries: 16

Rep: Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211Reputation: 3211
Quote:
I have always installed user and root accounts in my Linux systems. Then a few years ago various distributions decided to block me from installing root accounts. This makes installation of these distributions more difficult as I have to go through the system files and find and undo the various blocks to a functioning root account.
Code:
sudo su
passwd
Bingo! Root account enabled.

Can you say, "Silly and stupid"? (Not that I have strong feelings on this matter.)

Last edited by frankbell; 07-31-2016 at 10:26 PM.
 
Old 08-01-2016, 09:24 AM   #19
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,158

Rep: Reputation: 238Reputation: 238Reputation: 238
It would be quite hard to delete the root account (and still have a fully functioning system).
 
Old 08-01-2016, 09:59 AM   #20
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by Emerson View Post
I wonder what you call functioning root account
A functioning root account has the following characteristics:

It appears on the kdm or gdm login screen along with all of the user accounts.

You can login to root just as easily as you can login to a user account with each account having a different password.

The root account has a desktop like gnome, kde, xfce, or cinnamon with just as many function abilities as a user desktop. Especially root must have a split screen file manager available.

There is nothing wrong with the user sudo setup that you are advocating. But to then deny people the ability to also have a functioning root account is silly and stupid.

---------------------
Steve Stites
 
Old 08-01-2016, 10:52 AM   #21
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 1,267
Blog Entries: 1

Rep: Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578Reputation: 578
I was always taught that root shouldn't use the graphical desktop for security reasons. And display managers are usually configured by default not to allow root logins (though of course that can always be modified). I would regard a distro as having a functioning root account if root has a password and a home directory and can can log in at a console.
 
Old 08-01-2016, 03:29 PM   #22
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,883

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Best practices are a collection of tools, techniques, settings and practices that are believed to offer the user with protection and stability. The more you learn and use the more likely that your system will be safe and secure.

I have argued against the root user for a very long time to be used as a normal user. It is always a cat and mouse deal between a distro and it's target users. Do you force them to be secure or do you let them do less than secure tasks by default?

Last edited by jefro; 08-01-2016 at 03:30 PM.
 
Old 08-01-2016, 04:47 PM   #23
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by jefro View Post
Do you force them to be secure or do you let them do less than secure tasks by default?
Why would you want to force a user to do anything your way instead of their way? Frank Sinatra would be annoyed.

------------------
Steve Stites
 
  


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
After ssh-copy-id , still need to provide password bucz Linux - Networking 6 11-07-2011 07:56 AM
provide password through script say_hi_ravi Programming 2 08-21-2010 06:26 AM
provide username and password with sendmail rooky Programming 7 12-16-2009 01:41 PM
How to provide password from command prompt ? p_s_shah Solaris / OpenSolaris 5 06-09-2008 07:59 AM
How to provide password for pppd at runtime deepalalla Linux - Networking 0 12-29-2004 04:33 AM

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

All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration