Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Where did I go wrong? Kindly advise.Thanks for helping.
Where you went wrong is that you are not reading the replies to your post. As others have told you (See post #12) Debian doesn't include /user/sbin in a regular user's path when running su. You need to run 'su - ' (without the quotes), so that root's env paths are enforced.
Switch to root using su - and then run the commands.
Unless something has changed recently, Debian does not come with sudo configured for use.
When you install debian, if you assign a password for root, then it won't configure sudo. If you don't create password for root, then it will configure sudo for you.
When you install debian, if you assign a password for root, then it won't configure sudo. If you don't create password for root, then it will configure sudo for you.
Yup, it was very annoying till I got used to always running su - instead of plain su.
Try adding the user to the sudoers file:
Switch to root user and then:
Run 'visudo' (without the quotes)
Scroll down to the User Privilege section and add the following line:
Code:
handshake92 ALL=(ALL:ALL) ALL
Save and exit. You should now be able to sudo
>>>>>>>> Thanks to everyone who is kind to help out, the recent tip from "suramya" may have help me to correct the problem.
Now I am able to root it. No more "authentication failure" or "not in the sudoer list".
Another pleasant surprise is now my Debian desktop -Grub boot loader is able to detect my Window 10 partition and able to boot to windows.
Thanks to everyone and kindly treat this topic as settled
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.