Javascript – administrator rights depending on the JWT body

For security reasons, is it okay to store a user's permissions in the body of the Json Web Token?
For example a JWT body like this:

{
   "username": "lukas",
   "isAdmin": true
}

The body's integrity is verified by the token's signature, so I think using this technique is not a problem, but since it is really security-related, I want to make sure my thoughts are correct.

Email problem of direct administrator web hosting conversation

My entire email server has failed. Do not receive emails or send emails. Please see the picture below. Please advise me to solve this problem. I am currently using Direct Admin

Please note the error.

https://i.ibb.co/PcmhPGJ/Untitled.png

The following error was displayed while reviewing the Exim error logs.

2020-02-19 12:06:04 unexpected disconnection when reading the SMTP command from ((166.123.221.120)) (145.123.113.148) D = 2s
2020-02-19 12:06:20 cwd = / etc / csf 4 arguments: / usr / sbin / sendmail -f root -t
2020-02-19 12:06:20 1j4Snk-0004ig-1l F = Rejected by non-SMTP ACL: ACL string "$ {perl {get_username} {$ acl_m_uid}}" could not be extended: Undefined subroutine & main :: get_username called.

2020-02-19 12:06:20 cwd = / var / spool / exim 7 arguments: / usr / sbin / exim -t -oem -oi -f <> -E1j4Snk-0004ig-1l
2020-02-19 12:06:20 1j4Snk-0004ii-37 F = <> rejected by non-SMTP ACL: ACL string "$ {perl {get_username} {$ acl_m_uid}}" could not be extended: Undefined subroutine & main :: get_username is called.

2020-02-19 12:06:20 1j4Snk-0004ii-37 Error reading message without usable sender address (R = 1j4Snk-0004ig-1l): Rejected by non-SMTP ACL: local configuration problem
2020-02-19 12:06:20 1j4Snk-0004ig-1l The child email process returned status 1

reply
report

Please help me.

Active Directory – Error when a domain administrator needs a user to change their password the next time they log on: "Configuration information could not be read by the domain controller"

An administrator of a domain network with a single Microsoft Active Directory 2019 domain controller must reset the password for specific domain users. To do this, he selects the user from the list and selects "Reset password". While setting a temporary password for the user, he marks the option "User must change password at next login".

When expected, the user will be prompted to change their password, as expected. If you continue to change the password, the process will fail and display the following error:

configuration information could not be read from the domain controller, either because the machine is unavailable or access has been denied.

I have read many articles on the subject. Some said that there was a problem after installing an update, but I couldn't find a correct answer here and anywhere. My domain controller is really available, and computers that an affected user tries to log on to are a domain joint. Sound that may not be a firewall problem.

Configuration management – Drupal: Script for all administrator settings for site cloning

I am a new Drupal user here who is in charge of an examination center for a school.

I ran a Docker container with version 7.69 and installed quizzes and some other modules, made a lot of settings via an admin GUI, e.g. For example, some modules activated, module settings added, etc. Some taxonomies and content added (questions and a quiz).

Now I would like to build a production facility, but I can't imagine doing it all over again with the admin GUI.

Is there a way to back up the entire site configuration, lock the content, and apply it to a newly released version of vanilla? Ideally, I would add some commands to a Dockerfile, but actually any option that doesn't require hours of clicking through the admin pages …

I've looked at features, but I'm not sure if that's my way. That is, if I understand it correctly, the modules I use have to support it and they don't.

Thank you in advance!

How can I edit my Windows 7 Pro hosts file after logging in as an administrator?

I want to add a line to my hosts file to prevent access to the web domain foo.barwhat should be achievable with the line

127.0.0.1 foo.bar

When I log in as an administrator, a locked padlock appears on the file icon. I can open it with Notepad, but when I try to save it as "hosts" (not "hosts.txt") I get an "access denied" message. However, the permissions indicate that the administrator has "full access" and "read-only" is deactivated.

How can I edit this file?

[Linux administrator]: VPS, dedicated server, etc. | Proxies-free

Hello everybody! I offer service:

-Full installation and setup of VDS, DS
-Backup server
– Transfer websites to other servers / hosting
-Installation and setup of Debian, Ubuntu
– Set up proxy for sites (protect against misuse)
-Installation and settings of HTTP / SOCKS proxy servers: 3proxy, squid etc.
– Setting up web servers: Apache, Nginx, PHP, PHP-FPM, MySQL.
– Setting up the mail service with web interface (SquirrelMail, RoundCube)
– Set up Jabber servers
– Setup of VPn servers (PPTP, OpenVPN)
-Install and set up the control panel ISPmanager, VestaCP etc


Online at any time, low cost prices and discounts.
My personal tariff is $ 10 / hour
Contacts:

Skype: alexey.rad
Telegram: @ mobil1