Jump to content

mmatheny

Members
  • Posts

    73
  • Joined

  • Last visited

Posts posted by mmatheny

  1. OK - the first error above was because the Unix admin had disabled the account within sudoers for troubleshooting until we got an answer.

     

    The issue is we are trying to use a regular account to run the scan. So we add a command into the sudoers file to run the scan program, but it appears because the file (tnilinagent_x64) with the aurguments, which  may not be able to be globbed (this is the Unix guys terms)  presented to it doesn't actually exist when it elevates the user to root, it ignores the syntax, and it appears that about half of the files that needed to be executad do not exist in CentOS. Below is the syntax we are using - however, using this syntax, this is where we get this error:

     

    "Cannot create file "C:\Users.....". The filename, directory name, or volume label syntax is incorrect"

     

    Cmnd_Alias SCAN = /bin/arch, /bin/df, /usr/bin/head, /sbin/ifconfig, /sbin/iptables, /sbin/iptables-save, /bin/ls, /bin/ps, /sbin/pvdisplay, /sbin/pvscan, /sbin

    /route, /bin/rpm, /sbin/swapon, /bin/uname /sbin/service, /sbin/chkconfig, /home/scanman/tnilinagent_x64

     

    <scanning-userid>       ALL=(SCAN)

     

     

    Can you provide an example of the syntax including the arguments please?

  2. Get following error:

     

    Scan failed: SSH: (95%) Cannot create file "C:\Users\tmmathen\AppData\Local\Temp\1\TNITEMPSCANDIR\etc\sudoers: syntax error near line 26 <<<

    sudo: parse error in \etc\sudoers near line 26

    sudo: no valid sudoers sources found, quitting". The filename, directory name, or volume label syntax is incorrect

     

     

  3. Here's my file - do the compressscandata and scandelay have to be the first two entries??

     

    [TNIAUDIT]

    scandelay=600

    savepath=\\Achouston\TNIDATA\Data

    defaultipoption=0

    compressscandata=0

    usedipaddress=

    [inventory]

    General information=1

    Processor details=1

    Motherboard details=1

    System memory=1

    ###### system=1

    Storage details=1

    Multimedia details=1

    Network adapters=1

    Peripheral devices=1

    Modems=1

    Devices=1

    OS information=1

    Hotfixes=1

    Installed software=1

    Program files=1

    Autorun applications=1

    Database engines=1

    Environment=1

    Shared resources=1

    Processes=1

    Services=1

    User accounts=1

    Security=1

    Win32_Product=0

  4. I have it set for 600, and it still kicks off immediately. We have the tniaudit.exe on a shared folder and call it from there like this:

    start \\servername\TNIDATA\tniaudit.exe /scripted

     

    Will this have it use the tniaudit.ini file in the same location??

     

    EDIT: well, it must because it is honoring the other parameters in that .ini file!

  5. Get this erroneous error (there IS NOT ANOTHER COMPUTER WITH THIS NAME!!

     

     

     

    You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again

     

     

    (New version TNI)

     

     

     

    OK - DNS error - there were duplicate entries in the DNS server for different machines! I do not control the DNS servers, so I am just doing a manual scan via IP and it is working.

     

     

     

    Sorry :(

×
×
  • Create New...