LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
Senior Member
 
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,052

Rep: Reputation: 38
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
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,306
Blog Entries: 3

Rep: Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720
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: 25,698

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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



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 06:59 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