LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 06:13 PM   #16
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292

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, 06:46 PM   #17
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

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, 11: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: 11,690
Blog Entries: 12

Rep: Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904
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 11:26 PM.
 
Old 08-01-2016, 10:24 AM   #19
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,027

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

Rep: Reputation: 292Reputation: 292Reputation: 292
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, 11:52 AM   #21
hazel
Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX, NuTyX
Posts: 770

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
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, 04:29 PM   #22
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,696

Rep: Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265Reputation: 2265
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 04:30 PM.
 
Old 08-01-2016, 05:47 PM   #23
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,795

Rep: Reputation: 292Reputation: 292Reputation: 292
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 08:56 AM
provide password through script say_hi_ravi Programming 2 08-21-2010 07:26 AM
provide username and password with sendmail rooky Programming 7 12-16-2009 02:41 PM
How to provide password from command prompt ? p_s_shah Solaris / OpenSolaris 5 06-09-2008 08:59 AM
How to provide password for pppd at runtime deepalalla Linux - Networking 0 12-29-2004 05:33 AM


All times are GMT -5. The time now is 09:11 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