LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-09-2018, 07:00 PM   #16
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled

So, first execute in a terminal

sudo passwd root

you will be prompted for a new Unix password. Write it twice (second for confirmation).

Then execute

sudo passwd -u root

to unlock the account. This should return

passwd: password expiry information changed

Well Well This worked Just fine logged into root every thing working other than minor glitch in theme minor detail.

Now I can get rid of that silly sudo crap

BurnieS

Last edited by BurnieS; 12-09-2018 at 07:03 PM.
 
Old 12-09-2018, 07:46 PM   #17
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Will I got it logged out logged into root everything works fine little glitch in theme minor detail


sudo passwd root

you will be prompted for a new Unix password. Write it twice (second for confirmation).

Then execute

sudo passwd -u root

to unlock the account. This should return

passwd: password expiry information changed


Thats it now I can get rid of that sudo crap.

BurnieS
 
Old 12-10-2018, 12:03 AM   #18
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Well this worked so I logged out logged into root everything worked well.

So this is it.

So, first execute in a terminal

sudo passwd root

you will be prompted for a new Unix password. Write it twice (second for confirmation).

Then execute

sudo passwd -u root

to unlock the account. This should return

passwd: password expiry information changed

Now I don't need sudo I can everything as su, now I will uninstall everything sudo

BurnieS
 
Old 12-10-2018, 01:05 PM   #19
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
This works logged out back in as root works as it should

So, first execute in a terminal

sudo passwd root

you will be prompted for a new Unix password. Write it twice (second for confirmation).

Then execute

sudo passwd -u root

to unlock the account. This should return

passwd: password expiry information changed


Now to uninstall everything sudo

Burnie
 
Old 02-21-2019, 03:29 PM   #20
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Essentially when logging in the way mint is setup,you have access to sudu therefore access to su (root), therefore you are logged in as root. Logged in this way you are running the system as root, You are also on internet as root (very dangerous) This gives internet full access to your system. This makes your system very vulnerable. If you take the fact that you can run root commands from your user account,what can't be run with sudo can be run with sudo su, Now try to tell me that your user account is not root. By having user account and root account revoking root privileges from user
account you have a much safer system. Chew on that a while and you will see the sense in what I said.
I am not meaning to take anything away from the crew who have put together this very fine distro, This is something they should take a very serious look. Although I am new to Mint, After twenty years of using Linux and knowing what I want, I think Mint is the best OS to go with (with a few minor changes). Now to find where they have hidden certain files, activate root login, get rid of sudo, revoke user root privileges and on I go.

Anyone that can help would very much appreciated.

I am now looking to activate user login (somewhere there should be a config file with a line in it (root_login Y or n)
anyone know where it is.

Burnie
 
Old 02-21-2019, 05:02 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
I am now looking to activate user login (somewhere there should be a config file with a line in it (root_login Y or n)
anyone know where it is.
Question is a bit vague. Are you asking about how to login as root from the desktop?
 
Old 02-21-2019, 05:24 PM   #22
BurnieS
LQ Newbie
 
Registered: Dec 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
No not from desktop (login) I have root from desk top.

The config file with the root login y or n wasn't where I expected it ?? looking

defiantly not vague

Burnie

Last edited by BurnieS; 02-21-2019 at 05:26 PM.
 
Old 02-21-2019, 05:50 PM   #23
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by BurnieS View Post
The config file with the root login y or n wasn't where I expected it ??
Where were you expecting? I feel the same way as michaelk in comment 21. I would expect something in /etc/lightdm/lightdm.conf or /etc/lightdm/users.conf, but neither have a man page I managed to find. Maybe https://forum.level1techs.com/t/linu...c-login/129879 would answer your question?
 
  


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
[SOLVED] Disable remote root access but allow local root access-- possible? bskrakes Linux - Security 4 02-21-2019 04:02 PM
Mint 18 Full disk encryption VS Veracrypt Full Disk encryption: Help a Noob Decide Please ! APeacefulRig Linux - Security 2 11-11-2016 08:10 AM
RHEL4 root directory says full but sum of use is nowhere near full. Why? SteveInTallyFL Linux - Server 11 02-05-2009 05:45 AM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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