LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-27-2016, 05:37 AM   #1
Saffron61
LQ Newbie
 
Registered: Jan 2016
Posts: 3

Rep: Reputation: Disabled
How to set up a login password


I set up Linux Mint cinnamon 17 with auto login. I would now like to set up a login password. I tried disabling auto login but when I typed in my admin password to login it was rejected. Does this mean that my admin password is not my user password and if so how do I find out what my user password is, I thought they were the same.
 
Old 04-27-2016, 05:51 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 763
Blog Entries: 3

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Originally Posted by Saffron61 View Post
I set up Linux Mint cinnamon 17 with auto login. I would now like to set up a login password. I tried disabling auto login but when I typed in my admin password to login it was rejected. Does this mean that my admin password is not my user password and if so how do I find out what my user password is, I thought they were the same.
Umm... it seems as though you have simply forgotten the password.

There's a guide on how you can reset it here:
https://community.linuxmint.com/tutorial/view/1355

Best of luck!
HMW
 
Old 04-27-2016, 08:17 AM   #3
Saffron61
LQ Newbie
 
Registered: Jan 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Is the root password different to the user password? my password is accepted for administrative tasks and I don't recall setting any other password.
I'm a bit unwilling to modify code in case I make matters worse.
 
Old 04-27-2016, 08:21 AM   #4
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,961

Rep: Reputation: Disabled
You do not need login as root into GUI, it is considered the stupidest thing one can do, some distros even do not allow it.
 
Old 04-27-2016, 09:21 AM   #5
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian, CentOS
Posts: 709

Rep: Reputation: 192Reputation: 192
open the terminal/konsole

if your prompt has a pound sign # then you are root
if it has a dollar sign $ then you are a regular user

example:

user erik
Code:
erik@mypc:~$
user root
Code:
root@mypc:~#

Last edited by erik2282; 04-27-2016 at 09:22 AM.
 
Old 04-27-2016, 09:38 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,933

Rep: Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825Reputation: 1825
To disable auto login:
Open 'Menu' > 'Login Window' to open the Login Window Preferences. Select the 'Security' tab > uncheck the 'Enable Automatic Login' option.

If you only created one user then it has sudo rights i.e. admin to change system settings.
 
Old 04-27-2016, 09:52 AM   #7
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18 at present.
Posts: 1,258

Rep: Reputation: 270Reputation: 270Reputation: 270
Quote:
Is the root password different to the user password?
With Mint, which is an Ubuntu/Debian flavour of Linux, you do not set an Admin password, you use your own. If you need root privilege to perform a task or run a command you have to elevate to root priviledge by using sudo.

Note that to use the Update Manager (which needs root privilege) it's your password you use to enable the updates.

Play Bonny!

 
Old 04-27-2016, 09:58 AM   #8
Saffron61
LQ Newbie
 
Registered: Jan 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Lightbulb

Thank you for all your help. I should learn to read, just assumed (as there is only one user) I was being asked for a password at login, actually asking for username, doh!
 
  


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
Can a user login without having a password set? kinetik Linux - General 6 07-25-2009 01:17 PM
Automatic set no password SSH login Ricio Programming 2 08-02-2008 09:03 AM
How to set login and password and root password in suse 10.2 sirius57 SUSE / openSUSE 8 07-24-2007 09:51 AM
how to set login & password when booting suse? LinuxNewbie999 SUSE / openSUSE 1 11-16-2006 10:51 AM
How to login if I didnt set a root password and no user? lonecrow Linux - Newbie 7 05-14-2006 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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