active directory – Linux sending system-local mail is not working with AD users

I am experimenting around with a Linux system in my free time, and today, I’ve noticed that the regular /usr/bin/mail is not working with my users that come from my Windows domain (the user does not recieve the message).

I would like to have some kind of system-local mail system, just for fun, so how could I accomplish this? I have tried sending mail (using sendmail) in the following ways:

  • sendmail -i $(whoami) <<MAIL_END
  • sendmail -i user <<MAIL_END
  • sendmail -i user@domain.local <<MAIL_END
  • sendmail -i user@domain.local@hostname <<MAIL_END
  • sendmail -i user@hostname <<MAIL_END

And yes, I have tried sending mail between regular users and it worked flawlessly. The domain user can also send mail to the regular users.

node.js – Doubts about Json web token and users’ sessions control

Well, i just took a basic Backend development course with Nodejs and it could be said that i’m newby in the web development world. In one of the modules of the course i learned how to secure my backend’s routes with Json web tokens and now i’m starting to develop a basic chat using reactjs for the frontend side and Nodejs to develop my backend. But now that i’m thinking about the security of the page, there are many questions that comes to my mind that weren´t explained in the course. I’ve planned to validate an user to access to the page routes with a login sending a JWT. So considering that fact the following are my questions:

  1. How to get the token from the frontend?

The course i took was completly focused on the backend, so i worked with postman sending the requests and storing the data from the reponses in the enviroment variables. So i don’t know how to get the token from the frontend (i don’t know if i can get it from any side of the cache storage or i need to save it in a database or something).

  1. How to revoke the token?

Well, i know that i can specify an expiration time for the token, but in this case i don’t want that expires unless the user logs out from the page. I’ve read from some sites that it’s not posible to delete it that easy but they recommend to remove the token from the client side and for the server side, saving the token in a forbidden list which contains tokens that are not reached their expiration time but they are not longer available.

  1. The last one is, how to refresh the jwt?

Well, i don’t know if the question was formulated correctly but here is it and i think is related with the second one. Imagine that i don’t want the token lasts forever, instead i want the token expires in one week in case the user doesn’t enter in the entire week, but once the user enters, the time expiration refreshes. In short words, i want the user can stay logged unless he doesn’t enter to the page in one week. What would be the most pratical to do?

Without anymore to say, thanks for reading and i would appreciate any tip or code example that you have to resolve my questions. Thank you.

Would users appreciate a mobile hover alternative on a product list?

The mobile first approach nowadays often (or sometimes at least) leads to less usage of the hover functionality on websites, as they are build with mobile in focus, where hover is not available.

Re-thinking “hover” functionality with touchscreens in mind

On one hand, I know that it is a good way to filter it down to the most important information and leave everything else out. But on the other hand, e-commerce product info (especially in the fashion area) is often already minimized to the smallest bits on the product listing page.

enter image description here

The hover state can be a great progressive enhancement feature at that point, that offers users on PC a benefit. It is also recommended by Baymard after one of their large studies regarding product lists: Product Lists: Display Extra Product Info and Images on Hover (70% of Sites Don’t).

On mobile this information is simply left out, as it is not crucial. But wouldn’t it be helpful nevertheless?
Currently you have to open each product detail page and check out the sizes and colors, then notice that it’s not available and have to hop back to the listing page. If you could instead have extra info appear in the list context, you could be filtering information a lot quicker.

That’s also where this thought comes from:
When & How to Implement Interactive Swatches on Mobile Product Listing Pages

enter image description here

Devices are getting bigger, so it is not unreasonable to include some interactive element on the listing page.


Now to my actual question:

Would it not be useful for the user to have some sort of extra possibility to see more info about a product he or she is interested in? Testers in the Baymard study above seem to have found it a positive experience to be able to preview info straight from the list.

What are possible downsides if it were to be implemented as illustrated below?
Or put differently, what effect could this have on the conversion rate or other KPIs in e-commerce?

enter image description here

I think the worst part about this is that the button takes up a lot of space. But it does need some form of affordance to indicate availability of secondary information.

I found an interesting example of this idea as a swiping mechanic:

enter image description here

This eliminates the big button problem, but do users recognize that they can swipe here?

free $10 of TWT token )to first 10000 users only) ! | Proxies-free

Steps to claim free 1000 TWT token worth $10:

Step 1:
Download and install “Trust wallet” from playstore. If you already have , no need to reinstall.

Step 2:
Create a free Binance account. No need of kyc. (binance.com)

Step 3:
Go to this below link –

Step 4:
Click on the banner as shown below.

IMG_20200802_121424.jpg

Step 5:
Fill in your trust wallet BNB address and Binance referral ID.

Done! This is only for first 10000 participants.

For more information, read these posts.

Note – 1) To get your referral ID from Binance , go to accounts section and click on referral tool. There you can find your referral ID.

2) To get your trust wallet BNB address , add BNB coin in your trust wallet and copy the receive address and paste it in the Google forum (link is given in step 3). This is where you will receive TWT tokens worth $10 at the current price!

If you have any doubts , ask me. And do the task quickly , only for 10k users!

 

Safe YouTube Promotion via world-wide real users and fast delivery for $1

Safe YouTube Promotion via world-wide real users and fast delivery

40 YouTube channel subscriber Or 110 video likes only $1.

welcome to my YouTube channel promotion service. Are you looking to promote your YouTube channel Or video? Don’t worry, you’re in the right place. All subscriber or likes comes from real active verify account. so your channel Or video 100% safe and promote.

please select my extra service and enjoy my high quality work.

quality of my service


1. 100% organic and safe promotion

2. on time delivery

3. some extra bonus

4. friendly customer support

5. professional service

6. 100% clients satisfaction

If you have any questions, please feel free to inbox before placing your order

.

8 – Is the X-csrf-token only available for authenticated users?

I am working on a rest api end point. I am noticing that some end points work without X-csrf-token header. Digging into the core revealed the following

  // This check only applies if
    // 1. the user was successfully authenticated and
    // 2. the request comes with a session cookie.
    if ($account->isAuthenticated()
      && $this->sessionConfiguration->hasSession($request)
    ) {
      if (!$request->headers->has('X-CSRF-Token')) {
        return AccessResult::forbidden()->setReason('X-CSRF-Token request header is missing')->setCacheMaxAge(0);
      }

This means that the X-csrf-token header is only checked for authenticated users. Are anonymous users not required to have this header? This really seems counter-intuitive to me as I feel that authenticated users already have a session cookie and its the anonymous users that need some kind of validation.

How do we add token validation for anonmyous users?

pdf – Form on Sharepoint Library to be completed by different users

I have developed an editable pdf form for my client. The user fills in an PDF form and then the form gets uploaded to SharePoint to start a workflow.

In the next step of the workflow, a task is assigned to another user that needs to add information to the submitted pdf form. The user needs to open the editable pdf form, complete the fields and submit. Then the workflow needs to continue.

But when the user receives the task with that form, the only option is for the user to download the editable pdf form and complete it, but then how do they ‘overwrite’ the current form in the library? Or is there a way that the user can open the editable pdf form straight from SharePoint to complete the required fields?

Maybe someone has an out of the box alternative for me?

How to hide WordPress users’ names externally?

I have several users creating posts in WordPress, but I don’t want any of their names to appear publicly. On the site, I want it to only say By: Website Editor.

This also means that the names should not appear in any other related URLs, for example author URLs. If someone were to visit www.example.com/?author=3 for example, it should not reveal any names. I don’t mind disabling author URLs completely if that’s easier to do.

The SEO plugin I use also shows the name of the author in the source, that’s gotta go away also.

And in the backend, the names should appear just like usual.

How could I achieve this?

Thanks!

Unable to identify and delete SharePoint 2013 site users by using Sids through Powershell

I have set of Sids provided by client to delete the respective users from site permanently using share point 2013 power shell.

Firstly, I tried below script to get user by sid as below, but it does not provide user details for some Sids (These sids has to be deleted by me anyway from the site)

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
#Variables
$SiteURL=”https://intranet.crescent.com”
$UserSID = “S-1-5-21-3173304932-3636910964-1439844995-11231”
#Get the User by SID
Get-SPUser -Web $SiteURL -limit All | where {$_.Sid -eq $UserSID} | Select UserLogin, DisplayName

Kindly help me in achieving the same.

Thanks