Monday, June 17, 2019

login - How to re-enable a disabled standard user account?

Disabled a standard user account but did not opt to delete files. Later, tried to enable the account. At that time, a password had to be selected so entered a different one from the earlier one. Now, at the log-in screen the user account appears but cannot log in using the new password or the old password. Tried many tricks but still could not let the user log into the account.






The tricks:





  1. Tried to find some command in 'lightdm' package to modify the user account. Couldn't solve the problem. {Ex. /etc/lightdm/lightdm.conf}


  2. Removed the package 'apparmor' suspecting it is causing the problem. It didn't solve the problem.


  3. Installed some packages from Synaptic, relevant to user accounts. No luck.


  4. Browsed in system folders such as 'var', 'etc', 'bin', 'root' and many others, to find a clue so that the user account can be re-enabled. No way!


  5. From System Settings, selected auto log-in without password. Even then the user still can't log in.




Runnng sudo passwd USERNAME in terminal takes me to the log in screen. Hope these details would be of help. Still trying to solve the issue.




Well, finally I decided to delete that user and recreate a new user account with a slightly different name. Most files which had been backed up could be restored, although some were lost. All users should be asked to back up whatever files which are important using a tool such as Deja Dup. So in case of an issue like this, even if the user account gets deleted one can still recover the files.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...