Menu

webmin switch user versus logout

Webmin
2022-10-24
2022-10-30
  • Rich Painter

    Rich Painter - 2022-10-24

    I have many webmin installations on different OSs and a number of webmin versions.
    Some show on the lower left "switch user" and others show "logout"
    For the life of me I can't figure how to make them all "logout".
    I have done a lot of web searches and a bunch here (but not all 87 pages of hits) and found nothing.
    The online manual doesn't address it as far as I can see.
    I looked thru all of the webmin config menus and didn't find anything appropriate either.

    Can someone please tell me how to alter the config files to make the "logout" show up instead of "switch user"?
    thanks
    rich

     

    Last edit: Rich Painter 2022-10-24
  • Ilia

    Ilia - 2022-10-24

    Hello,

    You should Enable session authentication on Webmin ⇾ Webmin Configuration: Authentication page.

     
  • Rich Painter

    Rich Painter - 2022-10-30

    ah ha! When I set this I get the following error:
    "Session authentication cannot be used in inetd mode at /usr/libexec/webmin/miniserv.pl line 121."

    So, I guess there is some restriction when one starts webmin off from inetd or xinetd....
    I run webmin from xinetd on most of my systems so it is not running when not needed which is most of the time

    Is there a reason this is incompatibility?

    thanks
    rich

     
  • Rich Painter

    Rich Painter - 2022-10-30

    ah ha! When I set this I get the following error:
    "Session authentication cannot be used in inetd mode at /usr/libexec/webmin/miniserv.pl line 121."

    So, I guess there is some restriction when one starts webmin off from inetd or xinetd....
    I run webmin from xinetd on most of my systems so it is not running when not needed which is most of the time

    Is there a reason this is incompatibility?

    thanks
    rich

     
    • Ilia

      Ilia - 2022-10-30

      Is there a reason this is incompatibility?

      @jcameron Jamie, knows, I don't.

       
  • Jamie Cameron

    Jamie Cameron - 2022-10-30

    It's because in inetd mode, Webmin can't run a separate server process that keeps track of the sessions.

    Actually I am surprised that anyone is still running inetd mode! I was planning on deleting support for it in the next release, because it complicates the code a lot..

     
    • Rich Painter

      Rich Painter - 2022-10-30

      I understand... but xinetd gives us great control over starting etc
      processes using the network to kick them off in addition to minimizing
      process overhead running waiting for the net. I have been using inetd then
      xinetd since maybe 1982!
      do what you have to do!
      thanks
      rich

      On Sun, Oct 30, 2022 at 3:59 PM Jamie Cameron jcameron@users.sourceforge.net wrote:

      It's because in inetd mode, Webmin can't run a separate server process
      that keeps track of the sessions.

      Actually I am surprised that anyone is still running inetd mode! I was
      planning on deleting support for it in the next release, because it
      complicates the code a lot..


      webmin switch user versus logout
      https://sourceforge.net/p/webadmin/discussion/600155/thread/e1086d1f9f/?limit=25#40ce


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/webadmin/discussion/600155/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      Richard A. Painter, P.E. Retired

       

Log in to post a comment.

MongoDB Logo MongoDB