Archive > 15.7 Legacy Series

[SOLVED] Unable to add user with shell access

(1/2) > >>

bcjenkins:
I have added a user, ssh key, admin privileges, and shell access via the web gui. The user is not being allowed to login with the following error:

--- Quote ---NO LOGINS: System going down at 10:32


pam_nologin: pam_sm_acct_mgmt: Administrator refusing you: /var/run/nologin

Connection closed by
--- End quote ---

I ssh into the firewall with root and I am able to see that my new user is not added to the group I created for SSH, nor wheel. I do see that the auth key is there along with the proper shell /bin/csh.

Is there something else needed?

--bcj

franco:
Funky. Workaround is:

# rm /var/run/nologin

Will need to see why this pops up now before designing a permanent fix.

franco:
Looks like getting rid of clearing out /var/run at boot up caused this file to linger in the directory. shutdown seems to add the file, but doesn't remove it or the system has no chance to remove it. I don't know which it is, but it's not what the manual says. Will add a delete of the file on boot up for now, but I don't like it. I know little about that FreeBSD utility to give a definitive answer at this point.

bcjenkins:
Thanks, I will try this out.

franco:
A workaround is in place for 15.7.2, but I need to take this to FreeBSD.

https://github.com/opnsense/core/issues/245

Navigation

[0] Message Index

[#] Next page

Go to full version