question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Research] Web admin with terminal access

See original GitHub issue

https://cockpit-project.org/

Very active repo with recent developments: https://github.com/cockpit-project/cockpit

Readily available on Debian (including the RaspiOS): sudo apt install cockpit

Will be available on the port 9090 over HTTPS with a self-sign certificate. Authenticated with the linux username and password eg: admin passswordA

To access over the LAN allow though the firewall: sudo ufw allow 9090

image image

For remote Tor access: config.scripts/internet.hiddenservice.sh cockpit 443 9090

Somewhat limited in the Tor browser due to the JavaScript blocking, but the terminal login works.

image

On a non-RPi Linux based system it can even be used to manage virtual machines (just like virt-manager): https://github.com/cockpit-project/cockpit-machines

And has a graphical ZFS interface: https://github.com/optimans/cockpit-zfs-manager (which seem to be EoL being picked up by the 45Drives corp https://www.45drives.com/ https://github.com/45Drives/cockpit-zfs-manager)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:4
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
openomscommented, Jan 10, 2022

Found running cockpit very useful for testing. It flags up the failed systemd services in the GUI and helps to keep an eye on the disk(s) too.

1reaction
openomscommented, Dec 11, 2021

Thanks for your input @cstenglein ! Agree that having a terminal in the browser is mainly just a convenience factor. I was thinking of the troubles with getting a terminal open on Windows and also on mobile, but as you say text and dialog menus are not suitable for small screens.

It actually does come with some security tradeoff also because it relies on the SSL encryption rather than ssh itself (let alone the possible browser extensions in play).

So agree, Cockpit might come useful as an option to manage the server underlying RaspiBlitz (like my case managing VMs in it), but for the RaspiBlitz WebGUI the aim should be to be able to expose the log / cli outputs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to execute a command with admin privileges and access ...
I am logged in on a terminal as an non-admin/non-root user. This "normal" user is not in the sudoers file (and shouldnt be,...
Read more >
Using Command Line how to make the user an Administrator
sudo dscl . -merge /Groups/admin GroupMembership username. where 'username' is the username of the user you would like to make an admin.
Read more >
Web-Based Admin Consoles: The Critical, Overlooked…
The majority of admin consoles are now web consoles, and these are under attack at all times by sophisticated attackers.
Read more >
Top 5 Useful Mac Terminal Commands For IT Admins
Five Helpful Mac Terminal Commands Every IT Admin Should Know · 1. Enable SSH for Accessing a Remote Mac's Shell Securely · 2....
Read more >
can you give admin permission in Terminal while logged into ...
In terminal you can “su [account]” to the privileged account; enter password and then try the command; if it still needs privileges then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found