Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing MinimServer on Linux using su
02-10-2021, 10:27
Post: #5
RE: Installing MinimServer on Linux using su
The setup script doesn't use logname or $LOGNAME when it is running with root privilege (within a sudo call). It uses these when running without root privilege and passes the result to the sudo call.

I have tried doing what you are doing on two different Linux systems and I get the same result as you. I am not sure if there was a reason why the result of the logname command was used in preference to the $LOGNAME value when this code was written. At this point, I think the right thing to do is to reverse the order of these two checks, which would solve the problem you are having. If this causes problems in other environments, we can deal with these as needed.

This change will be in the next release of MinimServer for Linux.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Installing MinimServer on Linux using su - simoncn - 02-10-2021 10:27

Forum Jump:


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