On Thu, Jan 25, 2024 at 03:53:10PM +0000, Schwibinger Michael wrote:
> Good afternoon
> Why do I have to open a group?
> 

This is to *tell* us information about why you're having problems with su
and sudo

Running the 

id

command should give you information like

uid=1000(amacater) gid=1000(amacater) groups=1000(amacater),27(sudo)

which shows you that my user - amacater - is the first user on the 
machine (because Debian starts user id numbers at 1000 for ordinary
users) and that I'm a member of group sudo - so can use sudo instead of su.

/etc/sudoers will show you what privileges the sudo user has.
Here are the last lines of the file on my machine (which has not been
modified from Debian defaults)

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "@include" directives:

@includedir /etc/sudoers.d
(END)

If you are _not_ a user of group sudo for whatever reason - and want to
use sudo - then you will need root privileges and the root password
(once) to add your user name to the group.

For example: adduser sophie sudo

I hope this helps

> 2 years ago
> sudo was no problem.
> 

As yet, we have *no idea* what you have done in the last two years to 
break your Debian system - or even to know which kernel you boot or 
how you "rescue" your system when you log onto it every day.

Please give us information in order that the readers on this list can
use their knowledge to help you.

With every good wish, as ever,

Andy
(amaca...@debian.org)
> Regards
> 
> Sophie
> 
> Thank You
> ________________________________
> Von: Timothy M Butterworth <timothy.m.butterwo...@gmail.com>
> Gesendet: Montag, 22. Januar 2024 00:07
> An: Schwibinger Michael <h...@hotmail.com>
> Cc: Greg Wooledge <g...@wooledge.org>; debian-user@lists.debian.org 
> <debian-user@lists.debian.org>
> Betreff: Re: su su- sudo dont work
> 
> 
> 
> On Sun, Jan 21, 2024 at 4:07 PM Schwibinger Michael 
> <h...@hotmail.com<mailto:h...@hotmail.com>> wrote:
> Thank You
> Example
> I say
> 
> sudo apt-get install firefox
> Reaction LINUX
> This is not allowed we send a message to the admin.
> 
> This error message means that your account is not in the sudo group.
> 
> Run the command "groups" and look for the group sudo.
> groups
> 
> Here is the command to add a user account to the sudo group. You will need to 
> run it as root.
> usermod -a -G sudo <Your User Account>
> 
> I do open root terminal
> there its working.
> Regards
> Sophie
> 
> ________________________________
> Von: Greg Wooledge <g...@wooledge.org<mailto:g...@wooledge.org>>
> Gesendet: Samstag, 20. Januar 2024 14:14
> An: debian-user@lists.debian.org<mailto:debian-user@lists.debian.org> 
> <debian-user@lists.debian.org<mailto:debian-user@lists.debian.org>>
> Betreff: Re: su su- sudo dont work
> 
> On Sat, Jan 20, 2024 at 01:26:06PM +0000, Schwibinger Michael wrote:
> > Good afternoon.
> > Root terminal is fine.
> > What do I do wrong?
> > What did I destroy?
> >
> > PC does have only one user=admin.
> >
> > Regards Sophie
> > Is it the rescue mode?
> 
> Explain, please.
> 
> Your Subject: header says "su su- sudo dont work".  What does this MEAN?
> 
> Please show us your attempts to USE each of these commands, and the
> results that you got.  This means, run the commands in a terminal
> window, and then PASTE the contents of that terminal window into the
> body of your next email.  Show us the shell prompt, the command as you
> typed it, and the full output.
> 
> In other words, show us WHAT IS WRONG, or at least what appears wrong.
> 
> In addition, please give basic background information -- what version
> of Debian you are running, what desktop environment if any, how you
> logged in (*especially* if it isn't just a "standard graphical login
> for your desktop environment"), and anything else you can think of
> that might be relevant.
> 
> How does "rescue mode" factor into the problem?
> 
> When you installed Debian, did you give a root password, or did you
> leave it blank?
> 
> Finally, it would be helpful for you to run the "id" command (with no
> arguments), in the same terminal session as your failed su or sudo
> command(s), and include that command and its output in your paste.
> 
> 
> 
> --
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
> ⠈⠳⣄⠀⠀

Reply via email to