-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian 10 issue with sudo as a root user in hyperion-prepare.sh #2
Comments
I will look into that for you. |
The problem here is Debian has not as default sudo installed, Ubuntu has a sudo as default installed. i am not so good in shell coding but i think an extra if statment for debian will fix the bug:
or you check is sudo installed and make then a if else statement with and without sudo |
On Debian there's a bit more to setting up sudo. There may be more problems because I completely didn't think about non-English (working on your CentOS now) |
Yes my system language is in german but that is not the problem, i have tested this and deleted the sudo in line 162, it works fine under debian!
|
Are you logged on as root? But the English language may be the next problem we encounter. I will address this after I finish up with the CentOS stuff. Bill |
yes im logged in as a root user, the system is a fresh installation only updated. i am not so deep in Debian Systems specs but i think the system returns a "installed" and not in german a "installiert" , or a "not installed" in german "nicht installiert" This was installed from your script:
can you check from the script installed packets on a english debian? |
The root user probably doesn't have a |
Disallow running as root, for safety, with commit 0cb05d2. Added some URLs to web pages that explain why running as root for normal activity can be a bad idea. |
Just so we're sure, regarding checking for the string "installed", can you run this command on your
Just for reference, on mine it shows: "LANG=en_US.UTF-8" Thanks |
Hi,
issue on Debian 10 as a root user in hyperion-prepare.sh.
My System:
Kind regards
The text was updated successfully, but these errors were encountered: