[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. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
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 Amazonik on Fri May 07, 2021 4:07 am, edited 1 time in total.
User avatar
absque fenestris
Level 10
Level 10
Posts: 3193
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).
Linux Mint 18.3 Sylvia (MATE) 32-bit - Acer D250 Netbook
Linux Mint 20.0 Ulyana (Cinnamon) - Huawei MateBook X Pro
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 16
Level 16
Posts: 6921
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
Light travels faster than sound. That's why some people appear smart until you hear what they are saying.
You will seldom see a grey-beard wearing a tinfoil hat.
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: 19
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 21
Level 21
Posts: 13057
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.
Post Reply