Create pve-lxc-system-admin.sh - #1627
Conversation
Initial commit
This comment has been minimized.
This comment has been minimized.
|
For quite some things we already have functions inplemented in core / build or tools.func, can you try to directly use those? Also for header info, it should be possible to use it directly, without adding the full logo. Sorry for the misbehaving bot! |
|
@heinemannj Closing stale PR due to inactivity (no commits for 7 days after stale label). |
Actually I'm working on the redisign of I'm using the following sources: source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/core.func) source <(curl -fsSL https://raw.githubusercontent.com/heinemannj/ProxmoxVE-Admin/main/misc/admin-core.func) Can you please doublecheck if the last two sources created by myself can be included whin your library? |
|
@heinemannj as far as I can tell, we already have those functions in admin-core located in our funcs, but there may be some additions that can be done / more standartisation with the env vars you used, so feel free to PR that. about the whiptail, I think @MickLesk once built something, so I guess he knows best what we already have. |
Initial commit
Scripts which are clearly AI generated and not further revised by the Author of this PR (in terms of Coding Standards and Script Layout) may be closed without review.
✍️ Description
Based on the code of PVE LXC Updater I've created a bash script
pve-lxc-system-admin.shaddressing the following:sudogroup membership andSSH accessrights)scapadm:x:1001:1001:SCAP Admin:/home/scapadm:/bin/bashscapadm : scapadm sudo users%sudo ALL=(ALL:ALL) NOPASSWD:ALLPubkeyAuthentication yes-rw------- 1 scapadm scapadm 99 Mar 26 11:11 /home/scapadm/.ssh/authorized_keysssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHLbWTQDKgkQAk+QusliGmXWAc3XXXXXXXXXXXXXXX scapadm@fritz.boxSystem Admin(s)Private Key(s)passphrasefor human interactive accessGoals and Improvements
🔗 Related PR / Issue
Link: #
✅ Prerequisites (X in brackets)
🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.🔍 Code & Security Review (X in brackets)
Code_Audit.md&CONTRIBUTING.mdguidelinesAppName.sh,AppName-install.sh,AppName.json)📋 Additional Information (optional)
📦 Application Requirements (for new scripts)
🌐 Source
OpenSSH
PVE LXC Updater