OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of srich »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - srich

Pages: [1]
1
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 15, 2021, 09:18:22 pm »
I just tried the process again--I created a new user, new group, and gave the group login privileges via SSH--all via the GUI, but to no avail. Having the root user logged onto the console or logged off does not affect the behavior either.  Is there some other manner in which I can provide sftp access to a group over my LAN (protected interface).
Thanks for any advise anyone can profer.

2
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 15, 2021, 07:45:56 am »
I did everything through the UI per the instructions on the site.  I just verified the settings after the fact.

3
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 15, 2021, 04:27:05 am »
password authentication is set to yes:

/usr/local/etc/ssh/sshd_config:
AllowGroups wheel family
PermitRootLogin yes
ChallengeResponseAuthentication yes
PasswordAuthentication yes


4
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 15, 2021, 04:19:40 am »
They are the same:

family:*:2000:scott,testuser

5
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 15, 2021, 12:12:13 am »
etc/group:
family:*:2000:scott,testuser
etc/passwd:
testuser:*:2001:65534:Test User:/home/testuser:/bin/csh

/usr/local/etc/ssh/sshd:
AllowGroups wheel family

Both user scott and user testuser encounter the same issue.


6
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 14, 2021, 11:21:34 pm »
I did all of the above, and still have the issue.  I know that I setup the group and the users correctly becasue I can see the appropriate entries in /etc/passwd (for the shell) and /usr/local/etc/ssh/sshd for the group.  Something else seems to be amiss

7
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 14, 2021, 07:24:41 pm »
I included the group in login groups for secure shell originally.  The etc/passwd file includes the user with the appropriate home directory and shell; however, above that there is the following entry:
'sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin'  Could this be overriding any users which are listed after that?

8
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 14, 2021, 05:13:04 pm »
Hello,
  I did assign csh, yet I still have the problem.  The user's home directory has a  .cshrc file and a .login file indicating that the shell is set correctly (I think), but I still get the issue. 
Thanks

9
21.1 Legacy Series / Re: unable to login via ssh with non-root user
« on: April 14, 2021, 07:39:39 am »
I made a typo in my original post.  I m only able to login via SSH as root, and not as any other user including a user with super-user privileges.  I am running version 21.1.4.  If anyone has any insight into what I might be doing incorrectly, please let me know.
Thanks

10
21.1 Legacy Series / unable to login via ssh with non-root user
« on: April 12, 2021, 08:46:25 pm »
Hello,
  I am able to login via ssh as root using password for login.  I have created a group with super-user privileges and a member user with super-user privileges for testing purposes.  The tester via the webgui indicates a successful login attempt, but when I login, I receive a message of the form: 'NO LOGINS: System going down at 22:15 / Administrator refusing you: /var/run/login'  When I login as root, I can switch user to the account I created.  The .login file for my user indicates it is using csh for its login script. as I had setup via the webgui. My intent is to eventually have normal users be able to sftp to and from the machine, but am unable to do so now because of this limitation.  Has anyone experienced this issue prerviously, and does anyone know of a fix or what I have done incorrectly to create the issue?
Thanks in advance.

11
Zenarmor (Sensei) / Re: Unable to install Sensei
« on: April 12, 2021, 06:20:43 am »
I solved the problem by installing via command line and rebooting.  Thanks

12
Zenarmor (Sensei) / Re: Unable to install Sensei
« on: April 12, 2021, 01:44:42 am »
Hello,
  I have opnsense 21.1.4 installed, and I am running into the same issue, namely when I install the os-sunnyvalley plugin, I get no errors, but if I attempt an update, I get a message stating:  'repository SunnyValley contains packages for wrong OS version: FreeBSD: 12: amd64.  My plugins display similarly only shows the plugins I have installed (and no available plugins), with an indication that each of the plugins is orphaned.  Attempts to update and reboot do not change the error.  If I remove the sunnyvalley plugin, I once again see all available plugins and can successfully check for updates.  Has anyone else seen this issue and found a fix?  Thanks

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2