View Issue Details

IDProjectCategoryView StatusLast Update
0005346Kali LinuxKali Package Improvementpublic2019-03-28 13:22
Reporterfaraday-dev Assigned Tosbrun  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version2019.1 
Summary0005346: Prompt change password on python-faraday the first time
Description

We were testing kalli rolling and we found that faraday is shipped with a random password, this forces the user to use a change password script the first time.

We have an update of the faraday start script that will prompt the user the first time to change the password:

#!/bin/sh
aux_file_path="/root/.faraday/password_changed.txt"

systemctl start python-faraday
sleep 3
if [ ! -f $aux_file_path ]; then
    touch $aux_file_path
    cd /usr/share/python-faraday
    echo "Please, set a new password for the Faraday's default user 'faraday'"
    ./manage.py change-password
    ./faraday.py --login
else
    cd /usr/share/python-faraday && ./faraday.py "$@"
fi
systemctl stop python-faraday

Let us know if you want to change something on the script.

Thanks!

Steps To Reproduce

Open farada ide icon. If you try to browse the faraday web gui you can't log in into faraday.

Relationships

duplicate of 0005366 resolvedsbrun Prompt change password on python-faraday the first time 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-03-15 21:24 faraday-dev New Issue
2019-03-27 19:40 faraday-dev Issue cloned: 0005366
2019-03-28 13:22 sbrun Relationship added duplicate of 0005366
2019-03-28 13:22 sbrun Assigned To => sbrun
2019-03-28 13:22 sbrun Status new => closed
2019-03-28 13:22 sbrun Resolution open => duplicate