I'm not 100% on this as I'll have to test it when I am at home, but I think that the script will fail because bash is smart enough not to execute with effective permissions. So you would need to add each command that is being executed in the wifi_restart script to the sudoers file. so add something like;
There may be a more elegant solution, but a simple one line bash script will do this for you. Just put all the txt files in one directory and run this;
for i in $(ls *.txt); do for j in $(cat $i); do echo "$i: $j";done; done
You can use mkisofs I think to create an iso of your /etc directory and add a file which has all the packages you have installed. Then write a quick script to apt-get all the packages then copy over the /etc dir. Things will probably break so try it on a VM first and see what breaks and try and make something to fix/handle it.
I'm not 100%, but I would assume it's based on rm having to look through the directory recursively index what's there check if it's a directory then go though that again, prior to doing it. Whereas the find command just indexes the files and passes it to rm which deletes it without thinking. Tldr; no idea probably rm has a poorer recursive checking algorithm them find.
If kill -9 doesn't cause the application to stop then the hang up is likely in the kernel. The reason for this is kill -9 sends a SIGKILL to the process which cannot be blocked and basically just forces the kernel to remove the process from the process queue. The only reason I can see that not happening is if the kernel is locked doing something else (ie a device driver isn't playing nice, etc). What might be a better idea is instead of doing a kill -9, try a few other signals first to try and let the app die gracefully. Look at This on which signal to use and why. Hope that helps.
Can you yank the drive or otherwise mount it as an external drive to another system? If so do that and overwrite the user entry in /etc/shadow. The only other option I can think of is to find a way to pass kernel options via the bootloader. This way you can go to single user mode, or if that requires authentication set init=/bin/sh
The ramdisk is different from your ram. It is a compressed image stored on your drive that the kernel loads up right after it initializes to load required system modules needed for the system to boot prior to init loading.
You are correct. I just ran ./exe in the cwd and initially typed that, but realized it didn't give enough context so added the /proc/self part. Should have removed the cwd identifier.
I'm not 100% on this as I'll have to test it when I am at home, but I think that the script will fail because bash is smart enough not to execute with effective permissions. So you would need to add each command that is being executed in the wifi_restart script to the sudoers file. so add something like;
Kill Dash Nine https://youtu.be/Fow7iUaKrq4
I get the same issue with the same laptop / distro. I find that clicking on the top right of the trackpad "fixes" the problem.
For my home laptop I do. For work I have to use the company's image which is win7.
There may be a more elegant solution, but a simple one line bash script will do this for you. Just put all the txt files in one directory and run this;
Is secureboot or equivalent enabled in the bios?
You can use mkisofs I think to create an iso of your /etc directory and add a file which has all the packages you have installed. Then write a quick script to apt-get all the packages then copy over the /etc dir. Things will probably break so try it on a VM first and see what breaks and try and make something to fix/handle it.
I know it's not an installer but its close.
I'm not 100%, but I would assume it's based on rm having to look through the directory recursively index what's there check if it's a directory then go though that again, prior to doing it. Whereas the find command just indexes the files and passes it to rm which deletes it without thinking. Tldr; no idea probably rm has a poorer recursive checking algorithm them find.
If kill -9 doesn't cause the application to stop then the hang up is likely in the kernel. The reason for this is kill -9 sends a SIGKILL to the process which cannot be blocked and basically just forces the kernel to remove the process from the process queue. The only reason I can see that not happening is if the kernel is locked doing something else (ie a device driver isn't playing nice, etc). What might be a better idea is instead of doing a kill -9, try a few other signals first to try and let the app die gracefully. Look at This on which signal to use and why. Hope that helps.
Another interesting Attack vector is against the log monitoring / processing services. For example if I make a request to
What gets entered into the logs is something like
Which may get interpreted when the log processor (which may be written in bash) reads through and processes the access log.
Can you yank the drive or otherwise mount it as an external drive to another system? If so do that and overwrite the user entry in /etc/shadow. The only other option I can think of is to find a way to pass kernel options via the bootloader. This way you can go to single user mode, or if that requires authentication set init=/bin/sh
The ramdisk is different from your ram. It is a compressed image stored on your drive that the kernel loads up right after it initializes to load required system modules needed for the system to boot prior to init loading.
If its with both kernels it maybe an issue with the ramdisk itself not being loaded properly or corrupt.
Or it could be this; https://bbs.archlinux.org/viewtopic.php?id=157371
You are correct. I just ran ./exe in the cwd and initially typed that, but realized it didn't give enough context so added the /proc/self part. Should have removed the cwd identifier.
a more fun question is what happens when you run ./proc/self/exe
WOW a New record. A pacman post has been up for over 30 minutes without someone bitching about signing packages yet.
Looks nice. Ill give it a shot. I have been using awesome for the better part of two years now, I guess its about time to switch to something new.
I hate to break it to you, but unless im mistaken 2.6.35 is not in testing either. http://mirrors.xmission.com/archlinux/testing/os/i686/
As far as how stable is it, I can't imagine it would be significantly less stable then arch proper.
EDIT: Apparently I am mistaken http://mirrors.kernel.org/archlinux/testing/os/i686/ has it in there. So please disregard my comment. Odd that xmission isnt syncing the testing repo...
End of this list.
Back to top