Does linux permissions works only when linux running? [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 5 years ago.
Improve this question
In linux(and in windows) we can set read/write/execute permissions for files and folders.
But does these permissions work only on OS level(means that only linux guarantee this)?
If i will connect to HDD or SSD without OS, will these permissions work?

If i will connect to HDD or SSD without OS, will these permissions work?
No. The permissions are enforced by Linux. If there is no Linux, there is noone to enforce those permissions.
You don't even have to go through the hassle of trying to scrape the data off the device without using an OS. You can just boot your own Linux where you know the superuser password, and use your superuser privileges to access the files.
This works the same way in Windows.
Or any other environment, really. Java has private access, but if you are able to circumvent the Java compiler, e.g. by getting access to its output rather than just its input, then you can circumvent that, too.

Related

Creating hidden OS with linux [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 know that truecrypt isn't capable of creating a hidden OS but in another post someone describes the steps to do it manually and that he does it to all of his linux computers all of the time. Can anyone elaborate on his steps so that someone (like myself) who is not as experienced could accomplish this?
I would just ask this individual to provide more details but it appears as though their account is "anonymous" or something.
I developed something like you are describing.
Here https://github.com/antonio-petricca/buddy-linux you can find all the information and installation script.
Buddy linux allows you to install linux on (hidden) loop files (like for the link you provided), but providing GRUB loader by an external USB drive. So, removing, it will results in a Windows boot.
The other good stuff is that it is based on LVM, so you can extended file system "simply" by adding loop files as per your needs.
Regards.

Linux: How can I log in as root user on my local 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 2 years ago.
Improve this question
I would like to be a user with root access, when developing in Visual Studio Code on my local machine.
I read many posts about this but they all depend on using something with su or sudo. Unfortunately, in my case both return "bash: su(do): command not found".
How can I enable root access for myself?
MSYS/MinGW is essentially just a collection of linux utilities compiled as windows executables. It is not actually linux, so linux concepts, like the root user, do not apply. Similarly, tools that only work on linux, like nvm, also will not work in MSYS. If you want something that is actually linux, check out the Windows Subsystem for Linux, or WSL.

Can a Windows virus access virtual disks with another system? [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 3 years ago.
Improve this question
I am using 2 operation system via Grub, Linux for work and Windows for games.
My question is, if I get some virus on Windows, can it some how damage my files that are stored on a disk with Linux? Or get access for files on Linux disk? Can a virtual disk be exposed to some another vulnerabilities from another virtual disk with infected Windows?
Sure it can. The virus can and will do what it is supposed to do. "Virus" is a very broad term for this question. Can you give a little more details or context?

Restrict user access on linux [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 2 years ago.
Improve this question
I have a Ubuntu 12.04 machine that I can only access using SSH. On this machine I have two users and I want to limit the access to certain files to one of these users.
Basically I want that user to be able to access only its home directory and nothing more. I know that by removing the rx permissions to other home directories for others is one option but I wanted to know if there is another way, a configuration file where I can tell that my user can only have access to that folder.
Thanks.
chrooted jail is the answer.
Like: https://www.howtoforge.com/chrooted-ssh-sftp-tutorial-debian-lenny

How ro reset fedora? [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 want to reset Fedora so it appears as it was reinstalled, but without the cd.
I have many issues with it so I want to start with a blank page ! :D
Is it posible to do this in fedora, without reinstalling it from cd ?
I dont want to save any files !!!
Only Possible if you have fedora running in Virtual Machine and have snapshot backup. Or you have full system backup.
It depends.
When you were using your Fedora distribution, were you using it as a regular (non-root) user? Or were you using it as the root user?
Non-root users are normally only allowed to modify files within their home directory. That means if you were using your Fedora as a non-root user, any changes you've made are confined to your home directory. You can simply delete that directory and recreate it, and the end result will be as if it's a new Fedora installation.

Resources