Loading
Does the SLM search use % the same way SMACC does?
Question asked by  Steven Calkins   on Jan 11, 2018 Like   •  Show 0 Likes 0 Comment   •  0 When I type a term like e.g. "% tty?? %" (without quotes) into the search for users I get 41 tty sessions that do not need to be scanned. When I include the identical  " % tty?? %" (without quotes) into the comma-separated list in  USER_EXCLUSION parameter of the Basic Settings in SMACC, after the scan these TTY sessions are still not filtered out. What am I doing wrong?   Here is my  USER_EXCLUSION   expression from  SMACC :   %NoLoggedOn%,% tty?? %,%nobody%,%Restorer   How long can this expression be?

  • Community Manager (Flexera Software)

    Hello Steven, Is there any reason why you make use of spaces? Have you tried it without spaces between the wildcards and "tty??" ? It could be that the spaces are causing this. Best, Kadir
    • Hi Kadir,  The term "% tty??" (without the quotes) excludes unclosed tty sessions that were merely disconnected. The user actually had spaces in the name.  Regards, Steven
  • The exclusion in SMACC has a limit of 500 characters, this includes your commas, spaces, anything that takes up a space basically. %NoLoggedOnUser%,% Name % Make sure you end each exclusion etc.
    • Hi Liam, I think it is important to mention that it is the comma of the comma-separated list that ends each expression. This is to avoid that other readers see your expression and think a concluding % sign is needed. Of course the last expression needs no concluding comma since the end of the string is the natural end of the last element. 
    • Thanks Liam, That piece of information should save us some headaches.
  • A particular issue we are having is with the underscore in user names. In the Mac OS the following users are necessary for normal operation: _amavisd _appleevents _appowner _appserver _ard _assetcache _astris _atsserver _avbdeviced _calendar _ces _clamav _coreaudiod _coremediaiod _cvmsroot _cvs _cyrus _devdocs _devicemgr _displaypolicyd _distnote _dovecot _dove _dpaudio _eppc _ftp _geod _iconservices _installassistant _installer _jabber _kadmin_admin _kadmin_changepw _krb_anonymous _krb_changepw _krb_kadmin _krb_kerberos _krb_krbtgt _krbfast _krbtgt _launchservicesd _lda _locationd _lp _mailman _mcxalr _mdnsresponder _mysql _netbios _netstatistics _networkd _nsurlsessiond _nsurlstoraged _postfix _postgres _qtss _sandbox _screensaver _scsd _securityagent _serialnumberd _softwareupdate _spotlight _sshd _svn _taskgated _teamsserver _timezone _tokend _trustevaluationagent _unknown _update_sharing _usbmuxd _uucp _warmd _webauthserver _windowserver _www _xcsbuildagent _xcsbuildd _xcscouch _xcscredserver _xcsd So to clean up Snow, the wish is to exclude these accounts up front so that Snow doesn't find them. In the Snow WebGui for normal users, the search term "_%" returns too many results to be shown. But "_a%" kept the number small enough to view. Still that term found many false positives : "a a mendez", "C A 2UA...", etc., which led me to the conclusion that in reality "_" is also a wildcard for a single letter, at least in the Snow WebGUI. Only after using the standard regex character class signs "[" and "]" could the false positives be eliminated. So the term ended up as "[_]%", which finds the mac users beginning with an underscore. After including the underscore in the list of excluded terms on the SMACC, Snow still returned the OSX user accounts we wish to filter out. So now I will try to see if "[_]%" works also in the SMACC environment to filter these user accounts out. Then I will report back here.
    Expand Post
    • We've updated our to out the users beginning with "_" using the suggestion above. The results are encouraging. Now after searching in the WebGUI for "[_]%", nothing was found, which is the result desired if the filter on the SMACC Configuration->Basic Settings: s function like the WebGui does. So to sum up: To exclude Mac system account users up front in the SMACC, a term like "[_]%" should be used in the filter string to mask the from being recognized as a for a single letter.
      Expand Post
      • Correction: After carefully searching the WebGui, a two users beginning with an underscore were listed (but not found by searching with "[_]%"). Most were found though.

Related  Product Forums


                     â†’ Flexera One



                      â†’ Snow Atlas



                      â†’ FlexNet Manager



                      â†’ Snow License Manager



                       â†’ App Broker


       Need help finding an answer?


        Ask a Question →


Loading
Does the SLM search use % the same way SMACC does?