Linux - Reddit – Telegram
Linux - Reddit
776 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
Practicing Data Recovery - methods?

So it's been a long, long time since I've had to attempt to recover any data. Anything that is important to me (photos) I keep multiple backups of in different locations.

That being said, linux is a pretty powerful tool for data recovery and I just happen to have retired a couple of old 500GB HDD's.

I saw a post today about a guy who is having to do some data recovery because of a power outage (I personally use a pure-sine UPS). The post got me thinking, if for whatever reason I had to recover some data tomorrow - I don't really have a clue.

So, I'm going to load up those old HDD's with some random data - screw up the drives and see how recovery goes.

My questions to those of you who know:

**What are some scenarios of types of data that would be easy or difficult to recover, ranked from easy to hard?**
i.e., Recovering an Operating System drive, recovering photos, recovering plain text, recovering pdf's, recovering compressed files, recovering encrypted things (and then being able to access the encrypted data provided you still have the key).

Are full disks harder/easier to recover than ones with x% of space available, certain types of file formatting systems more or less difficult, certain operating systems make recovery more or less difficult, etc.

**What are some methods that I could use to "break" the drives that would require recovery (that is possible without special equipment) that simulate something that might actually happen to a person?**

i.e., sudo rm -rf /\*, deleting partitions, partitioning incorrectly, deleting boot sectors, simply accidentally deleting the wrong file, doing something weird while compressing files, etc.

I'm only going to attempt recovery at a software level using free tools available on linux, no hardware or dissassembly and no proprietary tools.

https://redd.it/bpe9yz
@r_linux
I am a design student willing to contribute to opensource

this is little offtopic to /r/linux

I am an animation student willing to contribute to opensource. What are some oss projects(strictly technical/only design) I can contribute to?



Thanks!

https://redd.it/bpnitt
@r_linux
Visudo help with id command

Hello,

​

I am setting up a bash/html CGI that will allow me to generate graphs with GnuPlot under RedHat 7.6.


My tutor ask me to create a cgi noscript that will be able to return a sudo id (root) without a password.


Actually, if I add the id command in one of my cgi-noscript, the return is :


uid=48(apache) gid=48(apache) groups=48(apache) context=system_u:system_r:httpd_sys_noscript_t:s0



But I want this return :


uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023




So I going on the the visudo file and I add :


httpd ALL=(root) NOPASSWD: id


But it doesn't work. And I don't know if I have to put "httpd" or "apache"...
The objective is to learn how this file works.


Can you help me ?

https://redd.it/bpp14l
@r_linux
PSA: NoMachine works on Wayland

Just wanted to post here because I'm sure many people don't know this. I discovered by accident that NoMachine works on Wayland! Quickly tested this on Sway and Gnome with the latest NoMachine on Arch Linux.

EDIT: To clarify, incoming connections are what I'm talking about. That's the big news here

https://redd.it/bpqwfr
@r_linux
Weekend Fluff / Linux in the Wild Thread - May 17, 2019

Welcome to the weekend! This stickied thread is for you to post pictures of your ubuntu 2006 install disk, slackware floppies, on-topic memes or more.

When it's not the weekend, be sure to check out r/WildLinuxAppears or r/linuxmemes!

https://redd.it/bptxgg
@r_linux
HOWTO make Linux run blazing fast (again) on Intel CPUs (by disabling ALL the security precautions against Zombieload/Spectre/etc)
https://linuxreviews.org/HOWTO_make_Linux_run_blazing_fast_(again)_on_Intel_CPUs

https://redd.it/bpv3ft
@r_linux