|
As i stated just installed- debian 6.0.6
set the hostname root password and user name and password during install.
tried to run sudo to try and install the atheros package.
But would not recognise my password.
Did some reading and found i have to edit the sudoers file in /etc/sudoers
Quote:
<username> ALL=(ALL) ALL
Replace <username> with the username.
Is this correct but i cannot access the file.
i did a new install to make sure this was happening
and changed the root password with this below to make sure
it was not me but still cannot access root in terminal with sudo.
i beleive this is what i have to do.
Add your new user to the sudoers file. This allows this user to use elevated privileges when needed to do things that normally only the root user could do.
************************************************************************
what i used to change root password not that it gave me access in terminal
with the new password. Have done another fresh install still same problem.
Boot into grub, select single user but do not press enter.
Press e to bring you into edit mode.
Scroll down to the kernel line, it starts with “linux /boot/vmlinuz-2.6…….”
Scroll to the end of that line and press space key once and type
init=/bin/bash
Press Crtl x to boot
$ remount / as rw
$ mount -rw -o remount /
Change password with
$ passwd
type your new password, hit enter and reboot.
Last edited by norlane; 12-04-2012 at 07:37 PM.
|