How is the EMQ Web Dashboard user/password changed? - emq

I do not see any configuration or documentation on how to change the username/password for the emqtt.io Web Dashboard. Does anyone know how to change this?

Login to the emq broker web dashboard using default username as
admin and password as public The web dashboard is running on the port 18083 by default so your url will be like http://localhost:18083
Click on Users on the bottom left of the web dashboard page.
Click on edit button on the right of the username for which you want
change password for.
A popup will be shown having an option to change
user password. Click on save and the password will be changed.
Hope this helps ! Thanks.

Related

I can't enable MFA for Oracle Identity Cloud Service user

I just sign-up an account of Oracle Cloud
After I logged in, It seem the system automatically created a tenancy for me and added me to an Identity Providers named oracleidentitycloudservice.
They also create one more user starts with oracleidentitycloudservice/username.
This is identity user page, both 2 of them is me. One of them is federated with oracleidentitycloudservice which is created automatically.
I can enable MFA for the second account.
But I can not enable MFA account for oracleidentitycloudservice/username:
When I want to login to Identity Console page, I need to use this SSO method:
It seem risky if Identity Console page doesn't provide MFA feature. That's what I worry about.
Question is:
Is it safe if I delete oracleidentitycloudservice/username?
How can I enable MFA for oracleidentitycloudservice/username from Oracle Infastructure page?
If Oracle is providing a complicated way to enable MFA for oracleidentitycloudservice/username, could it be a security issue?
For those who are in the same situation, here is step to Enable MFA for Oracle Identity cloud service user:
Sign in by this SSO method at this screen:
Go to Service User Console on top-right screen
Go to Admin Console of Identity
Go to My profile on top-right screen
Go to Security tab, our goal is to give the account permissions so that MFA item shows on this screen. At this moment MFA is not yet enabled, move to next step
Go to Admin console at top-right screen
Go to Security -> MFA at left side panel, check the box Mobile App Passcode
Go to Security -> Sign-On Policies, edit the Default Policy
Edit Default Sign-on Rule
Select the option that you prefer. It's upto you.
Go to Security tab and here you can enable MFA for your IDCS account
Sign-out and Sign-in again. Now you can use MFA to login.
Here's how you enable MFA (TOTP Authenticator) for Free Tier accounts:
Navigate to https://www.oracle.com/in/cloud/sign-in.html
Enter your Cloud Account Name and click Next
Select oracleidentitycloudservice as your Identity Provider and click Continue
Enter your username and password
Click on hamburger menu and select Identity & Security > Federation
Click on OracleIdentityCloudService
Click on the link next to Oracle Identity Cloud Service Console
You should be logged into the Oracle Identity Cloud Service console. Click on the hamburger menu and select Security > MFA
I don't see a way to enable Duo Security or FIDO Authenticator at this screen. Probably because the license type is Foundation but if you found a way to enable either of those, please edit this answer. If not, enable Mobile App Passcode and Mobile App Notification and click Save
Click on the top right corner of the screen with your initials and select My Profile
Click on the Security tab and you should see a 2-Step Verification section with an Enable button.
Click on Enable and select Mobile App
Check Offline Mode or Use Another Autenticator App
Scan the QR code with your favorite TOTP app (I used Authy) and enter a code and click Verify
You'll now have a 2SV factor enabled
Go back to the console by clicking on your initials at the top right corner and selecting Admin Console
Click on the hamburger menu and navigate to Security > Sign-On Policies
Edit the Default Sign-On Policy by clicking on and selecting Edit
Click on the Sign-On Rules tab and edit the Default Sign-On Rule by clicking on and selecting Edit
Scroll down to Actions section and enable Prompt for an additional factor and leave the rest at defaults and click Save
Log out and log back in again (alternatively open the Oracle Identity Cloud Service Console URL from step 7 in a private/incognito tab) and verify that you're prompted for the TOTP code after entering your username and password.
This is already old information, OCI is constantly changing it's dashboard. If you can't find the correct screens anymore, see this Oracle Documentation page, with which I set the policy after I enabled 2FA on my profile via Security:
https://docs.oracle.com/en-us/iaas/Content/Identity/mfa/understand-multi-factor-authentication.htm?Highlight=mfa
After that 2FA is asked after you login with your credentials.
I have the same issue.
I was following an official training from Oracle and found that the option did not appear because I was using the federated user.
You may manage all the users from the the lines button at the top-left corner and from there 'Identity & Security'.
First menu Identity & Security
Once you click on that option, you will see:
Choose Users
And this is the main user's options with the MFA and password reset if required:
User's options including MFA
Dani.

cs-cart admin user login always act as vendor profile Issue

I face one issue and not found any solution through cs-cart community That is - When I login to admin area from my admin URL like https://demo.com/admin.php and enter correct authentication infromation and click on login then I always act as Vendor not like admin it means that my after login screen is same as vendor screen and cant access any admin features.
After login my URL is same as admin URL but I act as vendor instead of admin.
I double check my database user settings and all are correct also. My admin user_type is also 'A' and its enabled also.
I cant trace any issue from my server file side.
Is it is SSL issue?
Thanks for contribution
Please check if you have any vendor selected already, on top left, right side of the admin logo, you should have All vendors ;)

Windows Authentication using MVC5, display Username at the top of every View

I am developing a MVC5 application for the DOE. We use windows authentication to login to our computers. I need help getting the users Name when logged in to be display "Welcome, Username"(across all pages) when they navigate to site. My problem is that when I navigate to the page it displays our ID which is what we use to login, i.e. i5456 and password. It would be much appreciated if someone would assist me and walk me through how to set this up.
I have already disabled Forms auth and enabled windows auth in VS 2013. I have tried using #User.Identity.Name in my SiteLayout, but like I said the ID is the only thing displayed. I'm not sure how to setup my model or view, or if I even have to. Is there a way to retrieve the Username so it can be displayed instead of the ID?
Try this #User.Identity.GetUserName() in your view
works for me

Unable to sign up at Heroku

I am unable to create an account at Heroku.com for some reason. Note that I do not have an account and am trying to create one.
I am able to click "Sign Up" on the home page, input my email address, receive the validation email, follow the link from validation email to page where input password and then am supposed to click "Save". At this screen, my email address has already been filled out (since I followed the link from the email) so I just pick a password, and put the same password in the "Confirm Password" box.
At this point I would expect the "Save" button to light up (or allow me to click it) but nothing happens when I click it.
I would check the Heroku site for help but am required to log in before getting help.
Using Chrome on Win 7. Using Lastpass for password management.
Heroku requires that the password be typed in rather than automatically added with something like Lastpass. Once the password has been typed in, the "Save" button will light up and allow you to proceed.

After login, how to send user back to the same portal page that they were on before loging in?

im using websphere portal 6.1.5 and portlet factory 7
How can i send user to a custom page intead of portal home page if user accecces a certain page before loging in?
i want to return the user to the same page that they were on before they clicked login link and went to login page. any solution?
That should be the default behaviour. If the user is redirected to the login page after login the WAS Server woudl redirect you back to that particular page.
This assumes that the URL is unique for that page because that is what is stored by the server before it does the re-direct to the login page.
Cheers
Manglu
No WebSphere by default redirects the user to the first page that he has access to right after login. In order to make portal redirect the user to a custom page you would have to implement a LoginFilter; which can be attached to the wps.war.
Take a look at:
Info Center: Configuring authentication filters
Creating loginfilter for WebSphere Portal
TechNote: New security APIs in WebSphere Portal
I hope this helps.
The default Login redirect behaviour is true, but only if the Login page is requested using the unprotected URL.
If the page is available within the protected area, meaning for authenticated users as well you can change the calculation of the redirect behaviour even without a loginfilter.
Therefore you would need to send a redirect to the current page but reference the protected area. Like wps/portal/a/b/c is the URL the user is currently visiting the login link should trigger wps/myportal/a/b/c.
WebSphere will kick in and require authentication for the user, but stores the original requested URL. This information is then reused from Portal after the user authenticated

Resources