Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 3286  / 1 Year ago, tue, april 11, 2023, 8:10:15

I installed Ubuntu 11.10 two days back. Today I added a user named vivi and set it to administrator. And I just changed vivek, my username, to standard user. Now, since I created new user vivi, I have not supplied any password for it, yet I am unable to perform any administrator actions. Can anybody help me to restore administrative privileges?


More From » password

 Answers
7

Not sure if the above answer will work, since under live cd, you can't edit the system which installed too easily.



boot from the live CD, or mount the drive some other way, then edit /etc/group from your installed system. Make sure your have a line like admin:x:119:vivi - don't change the number if it's different, just add your user name at the end of the line.



You also have the option of editing the passwd file, editing the root entry so you can login, but that's probably less likely to work well


[#42123] Wednesday, April 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rstride

Total Points: 305
Total Questions: 112
Total Answers: 118

Location: Mali
Member since Sat, Dec 26, 2020
3 Years ago
;