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
Boot into recovery (single user) mode and add your user account to the admin group. Group name is 'adm'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).
Just to make sure, you pressed esc while grub is loading?I don't know how to boot in recovery, i press escape and that doesn't bring grub to me.
Yes, but recovery mode is easier/simplerCan a live cd and some commands help me?
Use:It says that the user already exists
Code:adduser your_username admin
- Top
- Bottom
Comment
-
Re: There isn't a user with sudo privileges
Yeah, I screwed that one up all the way aroundOriginally 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 adduser
we see things not as they are, but as we are.
-- anais nin
- Top
- Bottom
Comment
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.





Comment