2018/9/1 View Post Password command in Tera Term no longer worksprac7
https://d2l.deakin.edu.au/d2l/common/popup/popup.d2l?ou=650047&queryString=ou%3D650047%26postId%3D4671952%26topicId%3D513046%26isPopup%3D1%26actId%3D0%26viewIsPoppedOut%3DTrue&footerMsg=&popBodySrc=/d2l/lms/discussions/messageLists/message_preview.d2l&width=900&height=855&hasStatusBar=false&hasAutoScroll=true&hasHiddenHeader=false&p=d2l_cntl_f2bdeb9504e241adad359202dc45cd50_1 1/1
Subscribe Unsubscribe
Reply
Password
command in Tera
Term no longer
worksprac7
Simon Ren 30 August,
2018 12:00 PM
Aachments:
Capture.PNG (4.29 KB)
Capture.PNG (4.95 KB)
Capture.PNG (24.04 KB)
Hi all,
Since Deakin has changed the
password policy, now we use
Single Sign On for the
management of password.
Therefore, in week7 prac7, the
execuon ofcommand
password will no longer work
and will lead to a error message :
password change NOT allowed
here!
Heres one soluon for you: make
an external password file and use
include statement.
1. you dont need to change your
password anymore.
2. in your web app folder, create
a new .php file, we can name it
password1.php (or any other
names you like).heres the code:
change the password to
yours.
3. put the include statement in
your php file where you want to
use the $password. (Heres one
example from prac7.
getUser.php), and assign
$password to $dbpass (line 6).
4. By doing this we can avoid to
hard-code our password directly
in the web page, and when you
submit your work (e.g.
assignment 2 & 3), you dont need
to submit the password1.php file.
Cheers
Simon Ren
javascript://
javascript://
javascript://
https://d2l.deakin.edu.au/d2l/common/viewFile.d2lfile/Database/OTM2MTMwOQ/Capture.PNG?ou=650047
https://d2l.deakin.edu.au/d2l/common/viewFile.d2lfile/Database/OTM2MTMxMA/Capture.PNG?ou=650047
https://d2l.deakin.edu.au/d2l/common/viewFile.d2lfile/Database/OTM2MTMxMQ/Capture.PNG?ou=650047
Reviews
There are no reviews yet.