Skip to content

geegeek/fortigate-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

fortigate-script

A bunch of Fortigate scripts to automate some operation

FortiGatePasswordChanger

An Expect script to change user passwords on FortiGate devices via SSH.

Requirements

  • A super_admin user account with SSH access to the FortiGate device.
  • SSH key authentication set up for passwordless login.
  • The user whose password you want to change must already exist on the device.
  • expect package installed on your system.

Usage

./FortiGatePasswordChanger.exp <admin_username> <target_username> <new_password> <device_IP> [<hostname> (optional)]

About

A bunch of Fortigate scripts to automate some operation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published