Skip to content
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

Is usermin still supported on macOS? #123

Open
rcfa opened this issue Dec 12, 2024 · 6 comments
Open

Is usermin still supported on macOS? #123

rcfa opened this issue Dec 12, 2024 · 6 comments

Comments

@rcfa
Copy link

rcfa commented Dec 12, 2024

There's a config-macos file in the .../usermin-2.010 folder from which setup.sh is run.

However, running ./setup.sh results in the following error message:

./setup.sh: line 330: /67058.os: No such file or directory

Running macOS 15.2

@jcameron
Copy link
Collaborator

It should still work fine on MacOS.

Can you post the full output from setup.sh before that error, so we can see where it fails?

@rcfa
Copy link
Author

rcfa commented Dec 13, 2024

Sure, no problem, but there’s not much there:

# ./setup.sh /usr/local/usermin
****************************************************************************
          Welcome to the Usermin setup script, version 2.102
****************************************************************************
Usermin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Usermin from /tmp/usermin-2.102 to /usr/local/usermin

****************************************************************************
Usermin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Usermin at the same time
you can just accept the defaults.

Config file directory [/etc/usermin]: 
Log file directory [/var/usermin]: /var/log/usermin

****************************************************************************
Usermin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl): 

Testing Perl ..
.. done

****************************************************************************
./setup.sh: line 330: /44602.os: No such file or directory

@jcameron
Copy link
Collaborator

So I looked at this, and it seems like Usermin never worked on MacOS due to a bug in setup.sh that's always existed!

The work-around is to run :

export tempdir=/tmp/.webmin
./setup.sh /usr/local/usermin

@rcfa
Copy link
Author

rcfa commented Dec 13, 2024

Yup, that did it... Thanks!

Does that make me officially the first and only user of usermin on macOS? 🤣

@rcfa
Copy link
Author

rcfa commented Dec 13, 2024

But why not .usermin as temp dir?
Just in the unlikely case someone installs webmin and usermin simulator, wouldn't they possibly stomp on each other? 🤔

@jcameron
Copy link
Collaborator

No, they can share the same temp dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants