Guest account has sudo privileges w/o pwd, sudoers.d Warning

Help with issues regarding installation of Debian

Re: Guest account has sudo privileges w/o pwd, sudoers.d War

Postby antonius » 2017-08-23 15:43

I installed from the latest CD disk iso image, and skipped the online mirror image.
Would a netinstall give me automatically the missing driver?
Like, would it download the missing driver automatically during installation of debian?
antonius
 
Posts: 24
Joined: 2017-08-23 08:38

Re: Guest account has sudo privileges w/o pwd, sudoers.d War

Postby antonius » 2017-08-23 16:11

I made a search on https://packages.debian.org/search?suite=stretch&section=all&arch=any&searchon=contents&keywords=rtl_nic%2Frt1816d-1.fw for rtl_nic/rt1816d-1.fw with no results. So the PPA has to come from "non-free" sources... I guess I'll try to run debian 9 without this firmware. And hope the ethernet server will work. What do you think? Thank you.
antonius
 
Posts: 24
Joined: 2017-08-23 08:38

Re: Guest account has sudo privileges w/o pwd, sudoers.d War

Postby sunrat » 2017-08-23 22:15

If you want this fixed, it would help to follow advice and give information requested.
DO NOT use PPAs, they are for Ubuntu based distros like Mint.
You say your missing firmware is rtl_nic/rt1816d-1.fw . You sure it isn't rtl8168d-1? That is included in firmware-realtek from Debian non-free repo. I'm thinking your sources are still wrong if you can't install this. As requested before, post your whole sources.list file here. One line of 6 is not helpful.
inxi is available in the main repo. https://packages.debian.org/stretch/inxi . It is a system info utility which can tell you lots about your system and hardware which can be vital to troubleshoot your issues. If you can't install this, your sources are definitely wrong, or perhaps you didn't run apt-get update to refresh your package list.
Tell us what happens if you run:
Code: Select all
su
<enter root password>
Code: Select all
apt-get update
apt-get install inxi
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2035
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Guest account has sudo privileges w/o pwd, sudoers.d War

Postby Wheelerof4te » 2017-08-24 07:58

Are you sure the installation was OK? Seems to me you have a bare-bones install without pre-configured repositories. The only way you could have gotten that is if you installed from netinstall image without successfully connecting to the Internet. Now, you have a few choices.

1. Reinstall from one of these: https://www.debian.org/CD/http-ftp/#stable
Just be sure to select your correct architecture. Later you can add non-free to the repo list fallowing instructions from https://wiki.debian.org/SourcesList

2. Try to copy the examples from mentioned wiki page to your broken install. Just use nano under root to add exact repo lines to your /etc/apt/sources.list file.
After that, making sure you have an internet ethernet cable connected, run

Code: Select all
apt-get update


as root to make sure you changed the repos. Then, if it works, try

Code: Select all
apt-get install -f

to fix your broken Debian.
Options for users who don't like systemd as Wheezy EOL draws near
Debian 9 GNOME
Intel Pentium 3825U Broadwell
AMD Radeon R5 330m
8GB DDR3 RAMesting
User avatar
Wheelerof4te
 
Posts: 394
Joined: 2015-08-30 20:14

Re: Guest account has sudo privileges w/o pwd, sudoers.d War

Postby antonius » 2017-08-24 08:38

Wheelerof4te wrote:Are you sure the installation was OK? Seems to me you have a bare-bones install without pre-configured repositories. The only way you could have gotten that is if you installed from netinstall image without successfully connecting to the Internet. Now, you have a few choices.

1. Reinstall from one of these: https://www.debian.org/CD/http-ftp/#stable
Just be sure to select your correct architecture. Later you can add non-free to the repo list fallowing instructions from https://wiki.debian.org/SourcesList


Really, adding non-free repos all over again just to get aptitude,inxi etc. Seriously?
antonius
 
Posts: 24
Joined: 2017-08-23 08:38

Re: Guest account has sudo privileges w/o pwd, sudoers.d War

Postby Wheelerof4te » 2017-08-24 10:50

^No, you don't need non-free repo for aptitude, inxi or most other packages. But you do need it for firmware-realtek.

Plus, there are no guest accounts in Debian, there are only user(s) and root. Users can be configured with sudo privileges during install if you read installation instructions carefully. Just leave root password blank if you want. In your other thread, I have pointed you to Jessie and Wheezy images, so try them out.
Options for users who don't like systemd as Wheezy EOL draws near
Debian 9 GNOME
Intel Pentium 3825U Broadwell
AMD Radeon R5 330m
8GB DDR3 RAMesting
User avatar
Wheelerof4te
 
Posts: 394
Joined: 2015-08-30 20:14

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable