Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question about User Login (WebGUI) at Syslog or log User Login with other commands

Featured Replies

Hello,

 

had a question about logging user logins at syslog.

If there is a login from webgui then there is the following message:

 

Nov 11 17:34:05 Server webGUI: Successful login user root from IP

 

This message is not the problem, it's clear that a Login come from webGUI from a specific IP.

My question is about the user logout from webGUI.

The message are:

 

Nov 11 17:38:39 Server ool www[20674]: Successful logout user root from IP

 

  1. What "ool" stands for?
  2. "www" stands for logout from webGUI?
  3. "[20674]" whats this number? It's not the same number always.

 

My goal is to log user login from webgui into my own python script.

I tried to use the following command for this:

 

ps -o command,tty

 

This gives me the following output:

COMMAND                     TT
Xvnc -nolisten tcp -noliste pts/0
bash --login                pts/0
ps -o command,tty           pts/0

 

The "bash --login" signals that there is a login from webgui.

The problem is if I use this command into my python script, with subprocess or psutil this only works if I start the script in the terminal and don't logout.

After I logout and login again, the command output don't work after all.

Output is complete different, I think if the script runs in background that don't work.

 

At this point I am thinking about, watching at syslog and get info about  login/logout from webgui from there.

Maybe there is another method to get user login/logout from webgui safe?

 

 

Best regards

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.