[solved] How to give root permission to a user

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Amazonik
Level 1
Level 1
Posts: 8
Joined: Tue Feb 09, 2021 11:50 am

[solved] How to give root permission to a user

Post by Amazonik »

Hi.

Something very weird : my password don t fonctionne anymore.
(Yes. I m sure it s the right one coz i writted it on paper near my computer)

So i want to save some files.
But no right to modify files with user cession.
I wonder to give root permission for user.

Thank so much for any help.
N
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
absque fenestris
Level 12
Level 12
Posts: 4110
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: How to give root permission at user

Post by absque fenestris »

Repair damage caused by graphical abuse of sudo ... ... https://easylinuxtipsproject.blogspot.c ... -root.html
Hi Amazonik
does your password work when the computer starts up?
If yes, it should be possible to restore the user rights using the measures described in the link above (such as safe, modifying or deleting your own data in your home folder).
Amazonik
Level 1
Level 1
Posts: 8
Joined: Tue Feb 09, 2021 11:50 am

Re: How to give root permission at user

Post by Amazonik »

absque fenestris wrote:does your password work when the computer starts up?
Hi.
Unfortunatly no. Coz my hard disk is full up and system go back to ask password again and again.
( When i typing good pass, he try to run and go back ask again pass. When i typing a fake pass, he mention " wrong password")

It s why i using cd to access at the system.

But same problem. Can not modify files under invit cession. And he don t recognize pass under owner cession.

I don t care reinstall but i have to transfer very important files first.

Thanks for your kind help.
User avatar
all41
Level 19
Level 19
Posts: 9523
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: How to give root permission at user

Post by all41 »

This sounds like the same problem you are having. Read:
viewtopic.php?p=1769597#p1769597
Everything in life was difficult before it became easy.
Amazonik
Level 1
Level 1
Posts: 8
Joined: Tue Feb 09, 2021 11:50 am

Re: How to give root permission at user

Post by Amazonik »

all41 wrote: Sat May 01, 2021 9:53 pm viewtopic.php?p=1769597#p1769597
I followed these instruction but problem still.
It s like for resolved a problem on samsung computer.
I got a asus.
kancha
Level 1
Level 1
Posts: 25
Joined: Thu Apr 02, 2020 7:20 pm

Re: How to give root permission at user

Post by kancha »

What you have is a login loop where you can't log in at all. it has happened to me twice once it happened because my partition disk was full and another time when i change some file in /etc.

in the forum look up how to solve the login loop.
viewtopic.php?t=310453#:~:text=Re%3A%20 ... f%20needed.

I solved my one this way
viewtopic.php?f=90&t=348088
Amazonik
Level 1
Level 1
Posts: 8
Joined: Tue Feb 09, 2021 11:50 am

Re: How to give root permission at user

Post by Amazonik »

kancha wrote: Fri May 07, 2021 12:48 am What you have is a login loop where you can't log in at all. it has happened to me twice once it happened because my partition disk was full and another time when i change some file in /etc.
Hi thanks so much for your help
Yes, i know it s because partition it s full.

Finally, i resolved it in a very weird way :
Using a CD boot, i can access at my files.
But because i can not enter password, i explored all the files inside.
Some, i can not modify (the most important for me).
some other, i can.
So, I deleted a lot of them.
And when i start again, i can directly access at my cession...

Weird no ?
Amazonik
Level 1
Level 1
Posts: 8
Joined: Tue Feb 09, 2021 11:50 am

Re: How to give root permission at user

Post by Amazonik »

absque fenestris wrote: Sat May 01, 2021 4:43 pm
Repair damage caused by graphical abuse of sudo ... ... https://easylinuxtipsproject.blogspot.c ... -root.html
Hi Amazonik
does your password work when the computer starts up?
If yes, it should be possible to restore the user rights using the measures described in the link above (such as safe, modifying or deleting your own data in your home folder).
Hi absque fenestris, thanks so much for your care.
I m really appreciate.

I posted bellow how i resolved the problem.
User avatar
Moem
Level 22
Level 22
Posts: 16235
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: How to give root permission at user

Post by Moem »

No, not at all weird. You could not log in because the partition was full; you deleted some stuff, the partition was no longer full, you could log in again.
This was never a password problem or a permission problem. It was always a full partition problem.

And no, the brand of the computer is not relevant either.

I'm glad you resolved your problem.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Amazonik
Level 1
Level 1
Posts: 8
Joined: Tue Feb 09, 2021 11:50 am

Re: How to give root permission at user

Post by Amazonik »

Moem wrote: Fri May 07, 2021 4:08 am No, not at all weird. You could not log in because the partition was full; you deleted some stuff, the partition was no longer full, you could log in again.
No i means weird because some files i can not modify and some other one yes.
That i don t understand.
Locked

Return to “Beginner Questions”