Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #229780

Re: Debian 10 64bit

From "Gareth Evans" <donotspam@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: Debian 10 64bit
Date 2020-12-15 19:50 +0100
Message-ID <Bmnyx-4fj-9@gated-at.bofh.it> (permalink)
References (2 earlier) <BmeOC-7Ak-11@gated-at.bofh.it> <BmfUm-8bO-15@gated-at.bofh.it> <BmmsO-3Dw-5@gated-at.bofh.it> <BmmVP-42D-3@gated-at.bofh.it> <Bmn5v-45L-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[re-sending to list as I initially replied from a non-subscribed address]

Hi Greg,

Thanks.  Apologies if I'm missing something, but I don't understand how this situation could have arisen other than because of password errors somewhere or other.

Jerry said:

> When I booted the system
> and try to do "apt-get update and apt-get upgrade" using "sudo" it would
> not let me do that. Said I was not a sudo user. I then tried "su root"
> which failed as well as it said I was not a sudo user. 

Surely su doesn't require sudo?  

> I went to the
> sudouse file and changed it to make me a user. Sudo as myself worked
> fine but su root still did not work.

Jerry seems to me to be saying that neither sudo nor su root succeeded, yet he still saved changes (I presume) to what I imagine is /etc/sudoers - doesn't he?

The second installation resulted in success with su root

> After seeing the email concering problems with sudo and su root ...

Could someone refer me to this please?

> ... I decided to reload. I did but did a use whole disk (no home part).
> After booting I did have to go to the sudouser file an change it again
> ***but the su root worked with out a problem***.

I'm not sure if a leaving the root pw blank during installation disables use of su root, but in the case of a blank root password, sudo should have worked but it didn't.  If sudo didn't work because there is no-one in the sudo group, su should be available, and for both not to work (as in the first installation) suggests a password error, doesn't it?  The fact that sudo was made to work during the first installation (having not initially) suggests that su must have succeeded at some point, doesn't it?

Kind regards,
Gareth


On Tue, 15 Dec 2020, at 18:12, Greg Wooledge wrote:
> On Tue, Dec 15, 2020 at 06:02:48PM +0000, Gareth Evans wrote:
> > It seems to me that Jerry may have mistakenly typed a user rather than root password at the su (not sudo) prompt at least once, but also used the correct (root) password at least once. 
> > 
> > How else could changes to /etc/sudoers (which I imagine is what is meant by "the sudouse(r) file") have been saved?  
> 
> In Debian, there's no need to modify the sudoers file if you only want
> "all or nothing" access to sudo.  Users in the sudo group have full
> access and can use sudo to do anything.  Users not in the group have
> no access.
> 
> If you leave the root password empty during installation, your initial
> user account is added to the sudo group, and the sudo package is added
> to the list of packages to be installed.
> 
> If you install a desktop environment, the sudo package is also added
> to the list of packages to be installed.  Of course, in order to *use*
> it, you'll need to add users to the sudo group, or modify the sudoers
> file.
> 
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Debian 10 64bit Jerry Mellon <jfmellon@netscape.net> - 2020-12-15 01:50 +0100
  Re: Debian 10 64bit Peter Ehlert <peter@sdi-baja.com> - 2020-12-15 03:00 +0100
  Re: Debian 10 64bit john doe <johndoe65534@mail.com> - 2020-12-15 08:10 +0100
  Re: Debian 10 64bit Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-15 10:30 +0100
    Re: Debian 10 64bit john doe <johndoe65534@mail.com> - 2020-12-15 11:40 +0100
      Re: Debian 10 64bit Andrei POPESCU <andreimpopescu@gmail.com> - 2020-12-15 12:40 +0100
      Re: Debian 10 64bit Tixy <tixy@yxit.co.uk> - 2020-12-15 18:40 +0100
        Re: Debian 10 64bit "Gareth Evans" <donotspam@fastmail.fm> - 2020-12-15 19:10 +0100
          Re: Debian 10 64bit Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-15 19:20 +0100
            Re: Debian 10 64bit Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-15 19:50 +0100
              Re: Debian 10 64bit Nicholas Geovanis <nickgeovanis@gmail.com> - 2020-12-15 21:20 +0100
                Re: Debian 10 64bit <tomas@tuxteam.de> - 2020-12-16 10:50 +0100
            Re: Debian 10 64bit "Gareth Evans" <donotspam@fastmail.fm> - 2020-12-15 19:50 +0100
            Re: Debian 10 64bit "Gareth Evans" <garethevans@fastmail.fm> - 2020-12-15 20:00 +0100
          Re: Debian 10 64bit Brian <ad44@cityscape.co.uk> - 2020-12-15 22:00 +0100
        Re: Debian 10 64bit john doe <johndoe65534@mail.com> - 2020-12-15 19:40 +0100
          Re: Debian 10 64bit Brian <ad44@cityscape.co.uk> - 2020-12-15 20:40 +0100
            Re: Debian 10 64bit Keith Bainbridge <ke1thozgroups@gmx.com> - 2020-12-16 11:20 +0100
              Re: Debian 10 64bit deloptes <deloptes@gmail.com> - 2020-12-16 11:40 +0100
              Re: Debian 10 64bit Peter Ehlert <peter@sdi-baja.com> - 2020-12-16 15:30 +0100
              Re: Debian 10 64bit David Wright <deblis@lionunicorn.co.uk> - 2020-12-16 22:50 +0100
              Re: Debian 10 64bit Steven Mainor <steve@degga.net> - 2020-12-17 12:30 +0100
          Re: Debian 10 64bit David Wright <deblis@lionunicorn.co.uk> - 2020-12-16 23:10 +0100
            Re: Debian 10 64bit Brian <ad44@cityscape.co.uk> - 2020-12-17 01:20 +0100
              Re: Debian 10 64bit Tixy <tixy@yxit.co.uk> - 2020-12-17 11:00 +0100
            Re: Debian 10 64bit <tomas@tuxteam.de> - 2020-12-17 16:10 +0100
              Re: Debian 10 64bit Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-17 16:20 +0100
                Re: Debian 10 64bit David Wright <deblis@lionunicorn.co.uk> - 2020-12-17 17:30 +0100
                Re: Debian 10 64bit <tomas@tuxteam.de> - 2020-12-17 17:40 +0100
                Re: Debian 10 64bit steef <debian.linux@home.nl> - 2020-12-17 23:00 +0100
                Re: Debian 10 64bit David Wright <deblis@lionunicorn.co.uk> - 2020-12-17 17:40 +0100
                Re: Debian 10 64bit <tomas@tuxteam.de> - 2020-12-18 21:10 +0100
                Re: Debian 10 64bit <tomas@tuxteam.de> - 2020-12-18 21:00 +0100
                Re: Debian 10 64bit David Wright <deblis@lionunicorn.co.uk> - 2020-12-19 21:10 +0100
                Re: Debian 10 64bit Andy Smith <andy@strugglers.net> - 2020-12-20 18:10 +0100
                Re: Debian 10 64bit Greg Wooledge <wooledg@eeg.ccf.org> - 2020-12-21 14:10 +0100

csiph-web