This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject

NetWitness Community

  • Home
  • Products
    • NetWitness Platform
      • Advisories
      • Documentation
        • Platform Documentation
        • Known Issues
        • Security Fixes
        • Hardware Documentation
        • Threat Content
        • Unified Data Model
        • Videos
      • Downloads
      • Integrations
      • Knowledge Base
    • NetWitness Cloud SIEM
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Detect AI
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Investigator
    • NetWitness Orchestrator
      • Advisories
      • Documentation
      • Knowledge Base
      • Legacy NetWitness Orchestrator
        • Advisories
        • Documentation
  • Community
    • Blog
    • Discussions
    • Events
    • Idea Exchange
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Community Support Forum
      • Community Support Articles
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Training
    • Blog
    • Certification Program
    • Course Catalog
      • Netwitness XDR
      • EC-Council Training
    • New Product Readiness
    • On-Demand Subscriptions
    • Student Resources
    • Upcoming Events
    • Role-Based Training
  • Technology Partners
  • Trust Center
Sign InRegister Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
NetWitness Discussions
  • NetWitness Community
  • Discussions
  • Privileges for local user to run "sasftpagent.sh" on linux host.
  • Options
    • Subscribe to RSS Feed
    • Mark Topic as New
    • Mark Topic as Read
    • Float this Topic for Current User
    • Bookmark
    • Subscribe
    • Mute
    • Printer Friendly Page

Privileges for local user to run "sasftpagent.sh" on linux host.

OmarGarciaGilio
OmarGarciaGilio Beginner
Beginner
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎2017-07-25 11:21 PM

Hello,

I always work with sasftpagent.sh v2.7.10 when I need send logs from linux host, so I always create a user "sftp" with root privileges:

$ sudo useradd -ou 0 -g 0 -c "Usuario SIEM sftp" sftp

That way works fine, but I need to know if is possible to work with a user with less privileges (of course, that You previously tested and worked). I also heard that the version 3 don't need an user with root privileges. Anyway, I would like to know wich version of "sasftpagent.sh" and what command (for create user) let me work without root privileges.

  • Community Thread
  • Discussion
  • Forum Thread
  • NetWitness
  • NW
  • NWP
  • RSA NetWitness
  • RSA NetWitness Platform
  • sasftpagent.sh
0 Likes
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
1 REPLY 1

NaushadKasu1
Trusted Contributor NaushadKasu1 Trusted Contributor
Trusted Contributor
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎2017-07-25 11:29 PM

You don't need elevated rights to run the script. However, the script requires the user it is run as to have read access to the logs it needs to process so it can:

 

1. Read the logs

2. Create temp files stored in a persistence directory (that you configure in the script)

3. Track position files also in the persistence directory

 

So, the script can be run as any user that has rights to read logs locally where ever they are stored on the file system and a "home" to store the files as they are processed from Steps 2 & 3 above. The user can be newly created OR an existing user you leverage to run the script (via Cron).

 

Naushad A Kasu | Senior Practice Consultant, Professional Services | RSA | m: 612.772.5843<tel:612.772.5843> | e: naushad.kasu@rsa.com<mailto:naushad.kasu@rsa.com> | www.rsa.com<http://www.rsa.com/>

 

<https://community.rsa.com/welcome>

<https://community.rsa.com/welcome>

0 Likes
Reply
Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Acceptable Use Policy
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.