[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more problems with su and sudo



On Mon, Jun 30, 2025 at 21:36:14 -0700, David Christensen wrote:
> The next time you log in, sudo(8) should work:
> 
> $ sudo pia-linux-3.6.1-08339.run

Even if sudo works, that command won't.  It would need to be something
like:

    sudo chmod +x pia-linux-3.6.1-08339.run
    sudo ./pia-linux-3.6.1-08339.run

However, your instructions still leave out one critical piece that I
suspect Moe may be overlooking:

    * "su" uses the ROOT password.
    * "sudo" uses YOUR password.

If she's trying to use the root password for sudo, that won't work
(unless her password is the same as the root password, of course).

It might also be worth mentioning that there may not BE a root password,
depending on the choices that were made during the Debian installation.
Some people skip the step where you're prompted to enter a root password,
which means no root password is ever set, but sudo is installed and
the initial user account is added to the sudo group.

If that was the case for Moe, then she can add a root password by doing:

    sudo passwd root

(after she gets sudo working, obviously).

If neither "su" nor "sudo" can be made to work, then she'll have to
follow the instructions for resetting her root password.  I believe
they've already been posted at least once in this thread.  If not,
it should be easy enough to find them.  Do a web search.


Reply to: