Hot answers tagged

5

To be clear, the user can su without a password, so that's setup somewhere, Somewhere else than sudoers, certainly. They are completely independent commands – su has its own logic for granting root rights and does not use 'sudo' or 'sudoers' for anything, whether it's passwordless or not. They just have similar names. The regular Linux 'su' mostly relies on ...


2

I see that there are ways to reset it but is there a way for me to somehow recover it and know what the password is? No. Someone set the password, so try your existing User password. Otherwise you need to reset it to something you do know. @Kevin - you said you saw ways to reset it, so I assume you can. It depends upon the machine and I do not know the one ...


1

PermitTunnel is for tunnel devices, which are like virtual network interfaces. They can be used e.g. for VPN connections via SSH, so all traffic to the target network is routed via the tunnel. On the other hand, TCP forwarding only forwards certain ports from localhost to the target host. So if you want a full-fledged virtual network interface, use the ...


1

Analysis Without involving cron you can replicate the problem by comparing the output of the following commands in a shell: chronic -ev /path/to/test.sh # chronic printing to tty chronic -ev /path/to/test.sh 2>&1 | cat # chronic printing to non-tty Now compare the output of these two: chronic -ev /path/to/test.sh >/dev/null # ...


1

As the error message implies, 'update-alternatives' deals with file paths, not with runnable command lines – it needs to be given an actual file that it would place at "/usr/bin/gnome-www-browser". (The alternatives system doesn't even distinguish whether something is a program or not.) Flatpak provides executable links of every program at /var/lib/...


1

My understanding of generic Debian OS installation is as follows: Installation "live" distribution is booted via bootloader from installation media to memory Installation procedure starts - in case of Debian it's the DebianInstaller https://wiki.debian.org/DebianInstaller/ Installer guides user using wizard to perform OS installation to a computer ...


1

"ProtectHostname=" creates a new UTS namespace, similar to how PrivateNetwork= creates a new network namespace and PrivateTmp= creates a new mount namespace. (Its goal is to prevent the process from changing the system's hostname, which could in theory cause security issues with hostname-bound 'sudo' policies, or LDAP authorization checks, etc.) ...


1

Interfaces that are bridge members no longer speak IP – only the bridge does. This means that any IP addresses on eno1 or eno2 are ignored and your default route with dev eno1 becomes invalid as well. So don't specify any address, netmask, broadcast, nor gateway on your physical interfaces – move all that configuration to br0: iface eno1 inet manual iface ...


1

You need to add the debia DPA instead of the Ubutnu PPA then import the gpg key (to solve the apt-secure error). Remove the Sury PPA from your /etc/apt/sources.list or under /etc/apt/sources.list.d/ . sudo apt -y install apt-transport-https lsb-release ca-certificates curl sudo curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg ...


1

There must be a /lib/systemd/systemd --user process for the user you're running this for. Check with: ps aux | grep systemd. In my case the process didn't exist because I was trying to setup background services on another account, and that user wasn't logged in (the systemd --user process is normally launched at login). The solution was to run sudo loginctl ...


1

Check for zero byte files in the directory where at looks for jobs. If you find any, remove them and see if the problem goes away. Story follows. (I still don't know the source of the 0 byte files, unfortunately.) In my case, there were 2-3 empty files in /var/spool/cron/atjobs. This resulted in 200 messages per second going to rsyslogd which looked like ...


1

From Linuxquestions.org Full procedure to install the package related to a .dsc file: Before you begin, note that, besides the .dsc file, you must have the corresponding xxx-orig.tar.xz and xxx-debian.tar.xz files. Install dpkg-dev package, if not present in your linux machine sudo apt-get install dpkg-dev Following command extracts the package into an ...


Only top voted, non community-wiki answers of a minimum length are eligible