The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.4.34 (Linux)
File Line Function
/showthread.php 802 errorHandler->error





Post Reply 
Installing MinimServer on Linux using su
01-10-2021, 10:09
Post: #1
Installing MinimServer on Linux using su
I'm installing MinimServer on a Pi running Ubuntu. I've created a MinimServer account and switch to that using "su - minimserver " or "sudo -i -u minimserver" but whenever I run minimserver/bin/setup it places my account name in the /etc/init.d/minimserver script rather than minimserver.

I'm assuming it's falling back on my sudo privileges as during setup it "Acquiring root privilege for system configuration update..." but never asks for the minimserver sudo password (although does fail if it doesn't belong to sudo group).

I know I can get it working by just modifying the script, or logging in directly (I assume), but does anyone know why this happens, and if there's a way of getting it to work through user switching?

I assume it's a Linux thing rather than MinimServer but thought someone might understand what's going on when using su.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Installing MinimServer on Linux using su - simbun - 01-10-2021 10:09

Forum Jump:


User(s) browsing this thread: 1 Guest(s)