Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I would like to help in this problem: There is a "who -u" command in Linux. This command can to show the current users (ssh, telnet, etc...), and these ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2

    Is samba client active or inactive?


    Hi,

    I would like to help in this problem:
    There is a "who -u" command in Linux. This command can to show the current users (ssh, telnet, etc...), and these users since when are inactive.
    Is there command in Samba (3.0.22-13.16-SUSE-SLES10), which can to show the active and inactive users, and the inactive users since when are inactive?

    thanks,

  2. #2
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10

    Samba and Webmin

    There must be a way because I can see my "connected users" with webmin. So there must be a command line command that will get you the same thing.

    Try to google samba connected users to see what you get.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    2
    I know an Samba command: smbstatus
    This command shows the connected users.
    But I need these:
    1. which user is inactive (user is connecting, but isn't doing anything)
    2. since when user is inactive

    I didn't find anything whith Google.

    Thanks,

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    10

    Samba and Webmin

    Hmm,

    What about ps -ef | grep <userid> once you know who is connected? You should be able to script something that will get you what you need I would think.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •