Installation of CentOS 8.2 – Super User

We have a bunch of workstations installed on CentOS 7.4. We want to start implementing the switch to CentOS 8 but it’s already not going as planned.

First installation from usb:

sudo dd if=/prod/library/install/os/centos/CentOS-8.2.2004-x86_64-dvd1.iso of=/dev/sdc

From the CentOS installation menu, we choose Install Centos 8.2… and no matter what type of installation we choose (EFI or Bios), we always get the following error:

dracut-pre-udev(885): modprobe: FATAL: Module floppy not found in directory /lib/modules/4.18.0-193.el8.x86_64
dracut-pre-udev(885): modprobe: ERROR: could not insert 'sha256_mb': No such device
( ok ) Started Show PLymouth Boot Screen.
( ok ) Started Forward Password Requests to Plymouth Directory Watch.
( ok ) Reached target Local Encrypted Volumes.
( ok ) Reached target PAths.

And then nothing else ever happens even if the machine still on.

However, if in the CentOS installation Menu, we choose Troubleshooting and then Install CentOS Linux 8 in basic graphics mode, we are able to perform the installation.

How could we solve this? We need to be able to run basic installation for the deployment, previously done with tfpt and kickstart.

amazon web services – powershell user data script run on restart of the Windows instance

We have windows servers that do application initialization which takes almost 3-4 hours for servers to be online. So to avoid downtime we use autoscaling group lifecycle hooks. Now we want to shut down all the servers at night and start them in the morning for cost optimization. Is it possible to run the PowerShell user-data script on the restart of the server? I followed link here however, cloud-init does not support Windows PowerShell user-data format as per this link.

Any suggestions would be a great help. Thank you.

7 – Check if the user has flagged content with any flag

It is possible with the following code to check if a content has been flagged by the current user with a certain flag:

$flag = flag_get_flag('flag_name');
if ($flag && $flag->is_flagged($node->nid, $GLOBALS('user')->uid)) {
  print "This node is flagged";
}

But, how to check if the user has flagged content with any flag ?

googlebot – only loader (spinner) is loading when old page hit by user that harm SEO ! so what is best practice

we have built our eCommerce web site using angular single page application , we have implemented spinner control that runs until the page is responding with the expected content.

the issue is we have some category pages which is crawl and index by google , and those pages are no longer available in the site what is the best practice.

should i is set 404 Pages instead of infinite loading page

and I am planning to set no index meta tag

googlebot – only loader (spinner) is loading when old page hit by user that harm SEO ! so what is best practice

we have built our eCommerce web site using angular single page application , we have implemented spinner control that runs until the page is responding with the expected content.

the issue is we have some category pages which is crawl and index by google , and those pages are no longer available in the site what is the best practice.

should i is set 404 Pages instead of infinite loading page

and I am planning to set no index meta tag

java – How can I design my Spring program so that when a user logs in I can tell if they are a Staff member, student or faculty member?

A little more detail. Like I said I’m building this University Management System and it will have user authentication. It will also user authorization for some parts of the web layer, for example only a Student will be able to access the Student web portal to add/drop classes and only a Faculty will be able to use the faculty portal to grade students and see their list of course.

Here is the problem: When someone logs in (This is all using Spring Security and Spring MVC btw) I need to be able to tell if this a student, faculty or staff. And querying each table until I find a match seems like TERRIBLE design. Each Entity inherits from a common abstract class Person but the interface that they share is very basic, they have getters and setters for the ID, first name, last name ect. I could store the Authorization role in the abstract class and that would tell me if this Person instance is a Staff, Student or Faculty and then check the role to figure what specific subclass I am using but that seems contrived as well. Is there a intuitive and common sense way to approach this problem?

privilege escalation – Taking over Windows DC as a domain user

What do you suggest in order to take over a Windows Domain Controller, given the fact that you gained access to a domain user workstation and so you have domain user credentials?

I have domain user credentials (unprivileged user), and so far I have done things like (unfortunately to no avail):

  • Enumeration against the DC (list users especially those belonging to administrator group, groups, hosts..)
  • Got a kerberos ticket hash to crack offline (after running JtR for 7 full days …no hash cracked)
  • Password Spraying against the extracted domain user list (I took advantage of the fact that the lockout policy is practically nonexistent)
  • Tried to do some post exploitation (domain user workstation) work like loading incognito and tried to find at least a domain admin token …to exploit…but nothing (no domain admin token)

Furhermore as a domain user I can access two shares on the DC.
..that’s all

Given the above mentioned information, what should I do in order to get access to the DC?
Those two shares are writable shares, but I suppose nothing can be done in order to exploit that scenario
thanks a lot

sharepoint online – Validation user message not showing

I have a formula in List settings-> validation settings. The formula validates correctly. The user message I entered does not display, it displays its own message below which is

Error: The validation formula has evaluated to an error.

      How can I show my User message? see a screenshot below. Than [![screen shot][1]][1]

php – Rearrange user profile fields

I have searched everywhere but can’t find any relevant information on this.

I want to rearrange fields on the User profile page (wp-admin/profile.php).

I don’t want to add or delete any fields. Just to rearrange them.

Also, if there is a way to add HTML there, then that’ll be a bonus for me.

Can anyone please light some idea about this? Or any plugin that can help me with this?

Thank you in advance.