Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2007  / 3 Years ago, fri, july 9, 2021, 12:43:53

I have a standard account with no password, then in the terminal it aksed for my password to install a program, I tried just ENTER and the adminstrators password but none worked, then I tried to create a password but I can't cause it says that the current password is wrong, but I haven't made a password yet! what's going on? Any ideas?


More From » password

 Answers
2

From my reading of your question it appears that you already have an administrator user on the machine, and you do know that user's password. From that administrator's account you added another user account, without setting a password for it. Now, when you log in as that second non-admin user, you can't install programs because it asks you for a password and you can't give it the password because you haven't set it. Is that right?



If I understood you right, then you need to do the following steps:




  • log in as your original administartor user.


  • in console, type



    sudo passwd myotheruser

  • to give the myotheruser account permissions to install software, you can add it to admin group (again, while logged in as the original administrator user):



    sudo usermod -G admin myotheruser 



After that your myotheruser account will be able to use sudo commands, install software and will have essentially the same privileges as your original administrator account.


[#34632] Saturday, July 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rhaeams

Total Points: 115
Total Questions: 111
Total Answers: 103

Location: Burundi
Member since Wed, Nov 25, 2020
4 Years ago
rhaeams questions
;