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 11-13-2018, 05:45 PM   #1
Vairag
LQ Newbie
 
Registered: Aug 2015
Location: South Africa
Posts: 2

Rep: Reputation: Disabled
Administrator's privilege / password use lost


Hello, as single user, my automatic log-in on Ubuntu 16.04 LTS was suddenly lost and required a password originally installed. Attempting to turn the password log-in option off, as administrator, authentication was required but denied as the original password used to log-in was not accepted. Being programming illiterate,how do I go about regaining Administrator's privileges?

Last edited by Vairag; 11-13-2018 at 05:48 PM. Reason: Correcting Ubuntu 16.04 to 16.04 LTS
 
Old 11-13-2018, 07:54 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Hi: & Welcome to LQ.

You will have to reset the root password in "Recovery Mode".

Follow these instructions.

https://askubuntu.com/questions/2400...ative-password
 
Old 11-14-2018, 02:58 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
If you type this at Google "linux reset root password"

There will be a small window from the results telling you how you can reset it and it goes to the link above.

Last edited by JJJCR; 11-14-2018 at 02:58 AM. Reason: edit
 
Old 11-23-2018, 01:44 PM   #4
Vairag
LQ Newbie
 
Registered: Aug 2015
Location: South Africa
Posts: 2

Original Poster
Rep: Reputation: Disabled
Administrator's Privilege / Password use lost - not yet resolved

Hi, I am not sure if this is how to go about responding to the original post.
Thank you for the recommendations.
I have to enter a password in order to use my laptop after each shut down - this is the password I wish to deactivate.
However before I attempt any changes to the Administrator's Password that may lead to the loss of the use of the Laptop -
For legal purposes, I need to back up all my e-mails in Thunderbird (Version 60.2.1) to a Flash Drive for re-loading.
This at present is not possible -
Following instructions to download e-mails - Click on Menu Button then Troubleshooting Information option, then on Open Directory. There is no Thunderbird Profile Folder option as mentioned in the Back-Up Instructions.
Will it be possible to simply download (Not Up-Date as per 'Up-Dates') the newly released Ubuntu 18.04 so as to replace compromised Version 16.04 - or will this also compromise all my e-mails?
Thank you,
Vairag.
 
Old 11-23-2018, 01:53 PM   #5
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,558

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Fix your password first - do not reinstall until you have done so.
 
Old 11-23-2018, 03:03 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
Will it be possible to simply download (Not Up-Date as per 'Up-Dates') the newly released Ubuntu 18.04 so as to replace compromised Version 16.04 - or will this also compromise all my e-mails?
That will compromise all of your e-mails.

Don't upgrade or perform a fresh install w/o backing up first. Fix your password as well.
 
Old 11-24-2018, 04:16 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,533
Blog Entries: 9

Rep: Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393Reputation: 3393
Quote:
Originally Posted by Vairag View Post
I need to back up all my e-mails in Thunderbird
simply locate the .thunderbird folder (it starts with a dot, so it's hidden. your filemanager might not display it by default) in your home folder, and copy the complete folder to your flashdrive.
you can drop that back into your new or repaired system, it should Just Work (tm).
 
Old 11-29-2018, 07:48 PM   #8
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 516
Blog Entries: 3

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by Vairag View Post
Hi, I am not sure if this is how to go about responding to the original post.
Thank you for the recommendations.
I have to enter a password in order to use my laptop after each shut down - this is the password I wish to deactivate.
However before I attempt any changes to the Administrator's Password that may lead to the loss of the use of the Laptop -
For legal purposes, I need to back up all my e-mails in Thunderbird (Version 60.2.1) to a Flash Drive for re-loading.
This at present is not possible -
Following instructions to download e-mails - Click on Menu Button then Troubleshooting Information option, then on Open Directory. There is no Thunderbird Profile Folder option as mentioned in the Back-Up Instructions.
Will it be possible to simply download (Not Up-Date as per 'Up-Dates') the newly released Ubuntu 18.04 so as to replace compromised Version 16.04 - or will this also compromise all my e-mails?
Thank you,
Vairag.
Login as "Admin" or root will not show you the same default folders as logged as "User". User's files are under /home/User
 
Old 11-29-2018, 08:26 PM   #9
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,558

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
For non-legal purposes it is strongly recommended that you have all important data files backed up to external media.

Is the requirement that you don't want any accounts to have passwords?
This would be a very bad idea.
 
Old 11-30-2018, 04:15 AM   #10
verginemaria
LQ Newbie
 
Registered: Nov 2018
Distribution: Arch (on 64bit systems), Debian (on 32bit systems)
Posts: 5

Rep: Reputation: Disabled
Hey there

Do you still have the usb/cd/dvd you used to install the OS?
I don't use ubuntu since 2012 so I don't know if it can still booted in live os mode.
But whatever, you need an usb with a live debian-based os.

Once you boot into the live OS mount the /mnt into your root partition.
To see what's your root partition you can do (as root):
# df
or
# fdisk -l

now mount the partition
# mount /dev/yourpartition /mnt
and enter in chroot
# chroot /mnt

now you can easily change yr password by just typing
# passwd youruser

Done!
 
  


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
You must be a good system administrator before being a network administrator. mohajuice Linux - Certification 5 01-03-2013 12:46 PM
Root password privilege rjs024 Linux - Newbie 20 02-05-2012 07:58 PM
[SOLVED] WD Elite - Lost Password - How -To Remove the lost password? fixcom1 Linux - General 3 03-06-2011 05:23 PM
Privilege Escalation - Getting 'root' privilege Rahil Parikh Linux - Security 2 12-02-2010 01:04 AM
Insufficient Privilege instead of Root Password Request buckberger Linux - Security 3 12-25-2004 08:00 PM

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

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