Skip to content

Create a Linux user with a weak password and sudo permissions without password

Notifications You must be signed in to change notification settings

ait-testbed/atb-ansible-weaklinuxuser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AECID Testbed Ansible Weak Linux User

This role creates a Linux user with a weak password and sudo permissions without password

Requirements

No special requirements

Role Variables

It is possible to change the username and the password:

weaklinuxuser_user: "john"
weaklinuxuser_pass: "rambo"
weaklinuxuser_sudo: True
weaklinuxuser_groups: []

Dependencies

No dependencies

Example Playbook


    - hosts: all
      roles:
         - role: weaklinuxuser
           vars:
             weaklinuxuser_pass: "john123"
             weaklinuxuser_groups:
               - sudo

License

BSD

Author Information

Wolfgang Hotwagner(https://www.ait.ac.at)

About

Create a Linux user with a weak password and sudo permissions without password

Resources

Stars

Watchers

Forks

Packages

No packages published