Getting IO privileges in Linux [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have installed flashrom software. When i try to run sudo flashrom command it gives me "Could not get I/O privileges (Operation not permitted). You need to be root" error. Also I tried su command to switch root and run again. I also tried sudo -i command to login as root. However any of them did not work

#if defined (__OpenBSD__)
msg_perr("If you are root already please set securelevel=-1 in /etc/rc.securelevel and\n"
"reboot, or reboot into single user mode.\n");
#elif defined(__NetBSD__)
msg_perr("If you are root already please reboot into single user mode or make sure\n"
"that your kernel configuration has the option INSECURE enabled.\n");
#endif
Reading this from the FlashRom.org pastebin site should give some insight.
This is the only file in Flashrom that contains the line, "You must be root"
Therefore, in my opinion, this is the only place the error can be coming from.

I changed secure boot option in bios settings as disabled. So I can run the flashrom program. But it gives this output.
WARNING! You seem to be running flashrom on an unsupported laptop.
Laptops, notebooks and netbooks are difficult to support and we
recommend to use the vendor flashing utility. The embedded controller
(EC) in these machines often interacts badly with flashing. See the
manpage and http://www.flashrom.org/Laptops for details.
If flash is shared with the EC, erase is guaranteed to brick your
laptop and write may brick your laptop. Read and probe may irritate
your EC and cause fan failure, backlight failure and sudden poweroff.
You have been warned.
So there is nothing to do. I have to search another tool to flash my bios

Related

Full CPU and Memory hijacking virus attack [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 days ago.
Improve this question
I am experiencing a serious issue with my server system. It appears to be under continuous attack by a virus or similar malicious program. I am hoping that someone can offer advice on how to resolve this issue.
The following are the symptoms of the attack:
All CPUs and Memory are being used at 100% capacity by programs that are running from the root user account. These programs have names like "/8912348071fc".
Anydesk is getting installed and running on the server, even though we have uninstalled it many times. It keeps reappearing.
A background search code is running that is trying to find files containing passwords in VNC directories. The code is running with the following command:
/bin/sh -c -ls -a /*/*/*/*/.vnc/*passwd*
We have tried different measures to remove the malicious programs, but nothing seems to work. We need to remove these malicious programs from our server system.
OS: CentOS7
We tried till now:
Stopping the program by killing it
Disable and uninstall (yum remove) anydesk
Stopping malicious unknown program running from root like that

Parrot os is not starting [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
i want your help to find how can i recover my parrot os system. I use parrot os alongwith windows. I have 4gb of ram so i tried to make a swap file in parrot os . I created the swap file and put swappiness=10 in system.conf . But when i tried to reboot. I shows an error. enter image description here
I tried many times to start it nut i failed.
Here is the error when i try to start it
Reloading system manager configuration Starting default target
You are in emergency mode. After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" or "exit" to boot into default mode.
Cannot open access to console, the root account is locked. See sulogin(8) man page for more details.
Press Enter to continue.
When i go to recovery mode it show failed to load /swap
image of error recovery error
enter image description here
Get a Linux live-CD USB stick.
Boot up with live CD, mount your system root path(should be somewhere at /dev/) to /mnt, then you need to check /etc/fstab file, remove /swap item inside.
After that follow Arch - swap to set-up swap partition properly.

Ubuntu not able to mount windows hard drive even windows shut down properly in dual boot [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
My question is about Ubuntu-16.04.
It's showing error -
Error mounting /dev/sda5 at /media/***/New Volume: Command-line `mount
-t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda5" "/media/harshit/New Volume"' exited with non-zero exit
status 14: The disk contains an unclean file system (0, 0). Metadata
kept in Windows cache, refused to mount. Failed to mount '/dev/sda5':
Operation not permitted The NTFS partition is in an unsafe state.
Please resume and shutdown Windows fully (no hibernation or fast
restarting), or mount the volume read-only with the 'ro' mount option.
To fix that problem you can run from Linux
ntfsfix /dev/sda5
By any chance did you created that partition by Clonzila?
If yes there some issue with it you must use partclone.ntfs for Microsoft partition.
That usually happens because since W8, when you turn off Windows, it is really doing some kind of a hibernation (it keeps information of the status of processes from the last session ), this for giving the user a faster Windows start experience. This is why you have this error. All you have to do to avoid this is just hit "restart" instead of "turn off" from within Windows.
If you want to know more of this Windows feature, read here

VirtualBox. Fedora 11 freezes when boot [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have Fedora 11 installed on VirtualBox. By accident some files in /var directory were damaged or removed(I don't know what exactly). Now when trying to run Fedora, it goes untill choosing the user and freezes. No reaction at mouse and keyboard clicks. Does anyone have any suppositions how to run it, or at least how to retrieve files from virtual machine? I booted it to the terminal where I updated all what is possible - gnome, etc...But still no result.
It's impossible to know what happened without knowing what got removed. However, a great way to get your files out is using scp. Good examples for this can be found here.
Alternatively, if you've installed the Virtualbox Guest Additions you can use a USB drive to retrieve your files. There's a pretty good tutorial on how to get your USB drive working on VBox here.
If you want my best guess as to what's wrong, something in your /var relating to your GUI got removed, as from what I understand you can still boot to your command line. My suggestion would be to get what you need off the machine using the above tools and get a fresh install.

Problems installing ubuntu on windows machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to install ubuntu 14.04.2 LTE. I have a lunovo ideapad with windows 8. I have followed all necessary steps flawlessly, and even factory reset my laptop to make this smoother. I get this error when trying to boot and install ubuntu. I also get it if i try to run ubuntu without installing. Also I tried re-downloading ubuntu, and remounting on my usb with the universal usb installer.
Is this error due to my computer, or the ubs/unbuntu? There was another option in the boot menu. It was check disk for error. I do not know if it was checking disk as in the iso disk or my hard drive, but a ubuntu lunch screen appeared and it was looking into some ubuntu files (on the usb), when it was done it said there was 2 errors. It did not say what kind or if it repaired it , or how to repair it. It only gave me the option to exit, then lunovo boot screen appeared and it stayed in a attempting to repair loop for quite a awhile so I gave up on that and shut down.
I would ask this in ask ubuntu, but I do not have enough "respect points" to upload an image.
Major respect to anyone who can help me out, I have been to get ubuntu for 2 days now, and I hit a dead end.
This error message can appears in those cases:
1. Your hardware it not compatible, usually ACPI issue. Try to boot with additional options: "noapic" and/or "acpi=off". You should be able to set parameters in "Other options" [F6 key].
2. Your RAM is broken. Check it in "Test memory" option.

Resources