NotArb - Solana Arbitrage Bot
  • Getting Started
    • Welcome
    • Changelog
    • The Basics
  • Setup
    • Start Here!
    • Prerequisites
      • Recommended Apps
      • RPC Providers
      • Linux Machines
    • Logging in Using SSH
    • Securing Your Machine
      • User Management
      • SSH Key-Based Authentication
      • Setting up UFW
      • Setting up fail2ban
      • Securing Wallet Private Key
    • Setting up for FTP
    • Initial Setup of NotArb
    • Using Screens
    • Making a Solana Wallet
  • Configurations
    • Using Nano
    • Config Basics
    • bot-config.toml
      • General Bot Settings
      • WSOL Unwrapper
      • JITO Strategy Settings
      • Spam Strategy Settings
      • Token Lists Settings
      • Swap Settings
    • jupiter-config.toml
      • Manager Settings
      • Env Settings
      • Mint Filters
    • Shell Scripts
      • run-bot.sh
      • run-jupiter.sh
      • run-screens.sh
  • Usage
    • Strategies
      • Jito Strategy
      • Spam Strategy
    • Updating
  • EXPERIMENTAL FEATURES
    • Overview & Caution
    • New Setup Configurations
  • New Mint Configurations
  • Default Strategy Fields
  • Jito Example
  • Spam Example
  • Extra Features
  • Support
    • FAQ
    • Common Issues
    • Troubleshooting
    • NotArb Docs Tracker
    • Contact
Powered by GitBook
On this page
  • Overview
  • 1. Change Your root Password
  • 2. Create a New User
  • 3. Give Admin Permissions to New User
  1. Setup
  2. Securing Your Machine

User Management

Overview

Most attacks will attempt to always log in using root, so what we will do is create a new user and then disable root login. We will only be logging in with your new user. Once logged in, you are able to switch to the root user again, but remote access won't be available.

1. Change Your root Password

After you log into your server, immediately change your password for root:

sudo passwd

Type in your new password twice and it will take effect.

2. Create a New User

sudo adduser notarb

It will then ask you for the following:

New password:
Retype new password:
passwd: password updated successfully
Changing the user information for notarb
Enter the new value, or press ENTER for the default
        Full Name []: 
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n] y

When entering your password, characters won't appear. Ensure you don't make mistakes.

You can leave the information blank and just enter y at the end.

3. Give Admin Permissions to New User

Now let's add notarb to the sudo group so they have admin permissions:

sudo usermod -aG sudo notarb

Next, let's set up SSH Access.

PreviousSecuring Your MachineNextSSH Key-Based Authentication

Last updated 7 months ago