Open rtadros125 opened 3 years ago
I currently see 3 different methods in target/common.py that are changing/assigning a user password on unix:
target/common.py
changeUserPassword
createUser
collectLogs
newPassword
fett_2020
One method is enough, and call it with a different flag for changeUserPassword case. And make all of them use the method in collectLogs.
I currently see 3 different methods in
target/common.py
that are changing/assigning a user password on unix:changeUserPassword
createUser
collectLogs
(and why is it usingnewPassword
? Let's stick withfett_2020
or something else)One method is enough, and call it with a different flag for
changeUserPassword
case. And make all of them use the method incollectLogs
.