module

Add user with useradd

Disclosed
N/A
Created
2023-06-02

Description

Creates a new user. By default the new user is set with sudo
but other options exist to make the new user automatically
root but this is not automatically set since the new user will
be treated as root (and login may be difficult). The new user
can also be set as just a standard user if desired.

Author

Nick Cottrell Rad10Logic

Platform

Unix

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use payload/cmd/unix/adduser
msf payload(adduser) > show actions
...actions...
msf payload(adduser) > set ACTION < action-name >
msf payload(adduser) > show options
...show and set options...
msf payload(adduser) > run

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.