LinuxQuestions.org
Help answer threads with 0 replies.
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-03-2017, 12:34 PM   #1
wtfhotpnklipglss
LQ Newbie
 
Registered: Dec 2017
Posts: 5

Rep: Reputation: Disabled
Issues with Password in the Terminal


Hello All,

I've read a few posts on the internet that have been solved but it hasn't seemed to solve my issue =/

When I enter in sudo commands in the terminal the next line asks for a password. I type it in (although it does't show me it's typing anything) and hit enter.
It just keeps telling it can't authenticate (su: authentication failure). I only have one password, so I'm not sure why it won't work? I've tried just hitting enter too without typing my password and that doen't work either.
I want to set up open vpn but I need to use the terminal in order to do so.
Would also like to change my username as well.
 
Old 12-03-2017, 02:08 PM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Then type in the password without sudo to see if it is correct.
 
Old 12-03-2017, 02:18 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,832

Rep: Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970
In addition,

What distribution/version are you running?

Passwords are not echoed and since linux is case sensitive make sure caps lock is not on if using capital letters in your password.
 
Old 12-04-2017, 10:49 AM   #4
wtfhotpnklipglss
LQ Newbie
 
Registered: Dec 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
I tried the above suggestions prior to posting but they didn't work.

I think I'm a temporary user, not an admin.
I see articles saying to log in as root to make one of the accounts admin.
Trying to figure out how to do that properly so I don't ruin anything.

I'm running 18.3 Sylvia

edit:

I did ctrl + alt + F1 and I can log in just fine so I know my password is correct. This is what's leading me to believe I don't have admin rights.

Last edited by wtfhotpnklipglss; 12-04-2017 at 10:51 AM.
 
Old 12-04-2017, 11:03 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,832

Rep: Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970Reputation: 5970
linux Mint is a derivative of Ubuntu which disables root by default. The username you created during the installation process is the "administrator" and has sudo privileges to run commands as root. As an example you can try running the following command. This will only output the disk partition information and will not change any settings. You should be prompted for a password.

sudo parted -l
 
Old 12-04-2017, 01:31 PM   #6
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Might you be typing just the two letters: su
And not actually 4letter sudo?
I noticed your mention of (su: auth err)
Have a look here: https://askubuntu.com/questions/4465...tication-error
su and sudo are different 'things'!!'
(There's long articles about them, if you want) Let us know.
 
Old 12-04-2017, 01:32 PM   #7
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Might you be typing just the two letters: su
And not actually 4letter sudo?
I noticed your mention of (su: auth err)
Have a look here: https://askubuntu.com/questions/4465...tication-error
su and sudo are different 'things'!!!
(There's long articles about them, if you want) Let us know.
 
Old 12-04-2017, 02:00 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by wtfhotpnklipglss View Post
I think I'm a temporary user, not an admin.
could it be you got a machine with mint already pre-installed?
i recently did the so-called OEM install for someone else, but haven't recieved any feedback yet.
it is supposed to take you through some guided menu so you can set up your own username & password etc.

Quote:
I see articles saying to log in as root to make one of the accounts admin.
Trying to figure out how to do that properly so I don't ruin anything.
yeah, don't.
it sounds wrong.
or show us the exact article.
 
Old 12-04-2017, 03:40 PM   #9
wtfhotpnklipglss
LQ Newbie
 
Registered: Dec 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yeah I don’t want to go through root. I’m thinking it’s an install error on my part, so I’m going to re-install. Linux was not pre loaded.

I did type sudo but the su authentication came back.

Link that is closest to my issue is
https://ubuntuforums.org/showthread.php?t=1938482

Will try the install in a few hours and will post update and put thread as solved if it works.
Crossing my fingers

Last edited by wtfhotpnklipglss; 12-04-2017 at 04:20 PM. Reason: auto correct was not correct
 
Old 12-04-2017, 08:48 PM   #10
wtfhotpnklipglss
LQ Newbie
 
Registered: Dec 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Problem solved =]

It was an improper install.
I was not able to set up my own account when I installed the first time for some reason, which is why I wasn't an admin.

I just re-installed and was able to create an account.
I did a basic sudo command and was able to enter my password and proceed.
 
1 members found this post helpful.
  


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
Password for terminal? elneuma Linux - Newbie 2 12-12-2016 01:56 PM
[SOLVED] Retro terminal issues in compiling, qmake issues. krisiskiller Linux - Software 3 08-27-2015 02:07 PM
terminal password redxpoppy Linux - Newbie 5 08-16-2015 05:56 AM
Root password and bootloader password issues bluephoric Linux - General 1 07-03-2015 01:18 PM
Password Recovery in Edubuntu 7.04 - In Terminal, Root Login : su , password : ????? farhannaeem13 Linux - Security 3 11-30-2007 09:59 AM

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

All times are GMT -5. The time now is 02:33 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
Open Source Consulting | Domain Registration