LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 07-13-2018, 10:17 AM   #1
Novatian
Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 18.3 and 19 64 bit and 17.1, 32bit, Xfce and MATE, Android, Windows 10
Posts: 846

Rep: Reputation: 35
su in terminal does not accept password


I am using Linux Mint 19 and a HP desktop computer, dual booting with Windows 10. I did not create an encryption of my drive, a simple password only. I log in with it, and permitted a software download with it from software manager. All good, but when I tried opening a terminal and using su, it did not accept the password. There is only one password, right?

Is there a fix?
 
Old 07-13-2018, 10:25 AM   #2
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Ubuntu, Devuan, OpenBSD
Posts: 3,201
Blog Entries: 3

Rep: Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408Reputation: 1408
What are you really trying to do?

In Linux Mint you have an admin user which can elevate privileges using sudo.
Code:
sudo -i
See "man sudo" and, especially, "man sudoers"

However, that is a misuse of sudo and you should really spend some time configuring it properly. The idea is to give specific privileges, not all-or-nothing.

See also Michael W Lucas' talk:
  • sudo: you're doing it wrong (slides)
  • sudo: you're doing it wrong (video)
 
Old 07-13-2018, 10:28 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,228

Rep: Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217
Mint just like Ubuntu does not enable root by default. While you can use sudo to run commands as root you can not become root. It is possible to enable root if so desired.

https://help.ubuntu.com/community/RootSudo
 
  


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
Won't accept password dunnery Debian 4 01-21-2016 07:01 PM
I am trying to use the terminal in Fedora but it won't accept my password. james frankham Linux - Newbie 12 06-16-2015 04:02 PM
terminal will not accept anything brookshire Linux - Newbie 9 06-26-2009 05:12 AM
How to accept a encrypted password in perl. jova626 Programming 4 04-28-2008 01:40 PM
su doesn't accept my password CGameProgrammer Linux - General 7 10-13-2004 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 09:42 AM.

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