Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Can't use command line, need help
Can't use command line, need help
* is not in the sudoers file. The * is my name, I've followed directions to fix this for linux in general and Ubuntu but It still comes up and I can't do anything in the command line. Can't get into the subdoers.d file, you have to be root and I can't do that. I'm lost at this point. Can anyonehelp me out. Thank you. I'm in Debian 8.8.0
Re: Can't use command line, need help
Assuming the terminal is functional, but you just can't use sudo...
open a terminal
su <enter> enter root password <enter>
usermod -aG sudo username <enter>
exit the terminal, then log out and log back in
open a terminal
su <enter> enter root password <enter>
usermod -aG sudo username <enter>
exit the terminal, then log out and log back in
Re: Can't use command line, need help
Gott im Himmel, could you not work this out for yourself. Is this your system?
bryanmc is on the money. Read this too:
https://wiki.debian.org/sudo
bryanmc is on the money. Read this too:
https://wiki.debian.org/sudo
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Can't use command line, need help
Use the init=/bin/bash kernel command line parameter to boot to a passwordless root shell then remount the root filesystem rw and add your user to the "sudo" group then reboot.jbander wrote:Can't get into the subdoers.d file, you have to be root and I can't do that.
deadbang
- sunrat
- Administrator
- Posts: 6495
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 118 times
- Been thanked: 476 times
Re: Can't use command line, need help
Ummm, you probably can. sudo is not necessary to use in a Debian system. Try typing su in a terminal and enter your root password.jbander wrote: you have to be root and I can't do that.
If you feel you must use sudo, follow advice above to enable it. sudo is not configured by default unless you specifically do it during installation.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!