I'm locked in my own system, i can't use visudo, i can't update, a week ago i had a user with privileges but i wiped it out. Can a live cd and some commands help me?
Announcement
Collapse
No announcement yet.
There isn't a user with sudo privileges
Collapse
This topic is closed.
X
X
-
Re: There isn't a user with sudo privileges
Originally posted by kattandpeistI'm locked in my own system, i can't use visudo, i can't update, a week ago i had a user with privileges but i wiped it out. Can a live cd and some commands help me?
useradd -G adm username
we see things not as they are, but as we are.
-- anais nin
- Top
- Bottom
-
Re: There isn't a user with sudo privileges
The group you want is actually 'admin' ('adm' serves another purpose).
I don't know how to boot in recovery, i press escape and that doesn't bring grub to me.
Can a live cd and some commands help me?
It says that the user already exists
Code:adduser your_username admin
- Top
- Bottom
Comment
-
Re: There isn't a user with sudo privileges
Originally posted by kubicleI think that tries to create a new user, rather than adding an existing user to a group...that's why I recommended adduserwe see things not as they are, but as we are.
-- anais nin
- Top
- Bottom
Comment
Comment