Cockpit looks nice and all that, but the version I tried didn't seem to have as many features or as much control like webmin does.
Tried Cockpit on Ubuntu? If so, you probably been using a old version because the only distro that I know that always has the latest version is Fedora.
Yep I'm a Debian/Ubuntu guy. I could probably add the repository for the latest version to try out if it does have more features. I'm normally straight up do everything through cli but wanted to try it out. then I tried webmin out which I haven't touched in over 8 years. They have defiantly improve things on their panel.
I'm not sure that is the proper way to do it.
ppa are personal repositories - meaning someone put it together.
I think Ubuntu has offical backports, just like Debian.
In that case it would be better to get a the "newer" php version from the backport repository instead.
It looks like the ondrej/php repository is actually maintained by a Debian developer, Ondřej Surý. He is one of the package maintainers for the official debian and ubuntu php packages. https://deb.sury.org/
@scottalanmiller I have tried to connect via virtualbox before but after the windows and linux setups the screen would just turn black so i resorted to qemu and followed your discussion but now it wont connect on ubuntu
...uses LTS releases. So we have to accept we are working from a crippled situation anytime that this comes up. It means we are already dealing with politics over function. So knowing that, it should explain why we have to deal with what we have to deal with. Would have been super fast to do a fresh install.
But you'd not do a fresh install of CentOS 8 or Streams if it wasn't for politics. We'd be putting in Fedora, Ubuntu, or OpenSuse. So not getting to do a fresh install is just one artefact of many when doing what's best for the application platform isn't what drives decision making.
What's the easiest way to run ls as the apache user (which you can't login as)?
su -u apache ls
Did you mean sudo or su?
Because you can't do su apache . You get "This account is currently not available.".
I know the -u apache is needed to run a command as a user from su or sudo. I'm thinking the issue might be with the apache account being set to nologin in /etc/passwd. Just be sure to change the shell entry in passwd back when you finish up.
-u is the user for either, but sudo is a loginless command and su uses login. To use su like you are thinking, you also need -c to make it a single command. Both will work, but only sudo will work for a non-login user like this without the -c