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.
Related
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.
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'm running Raspbian Lite on a Raspberry Pi 2. I'm trying to have vsftpd set up with one user called admin to have root access for FTP, while all other users (such as filetransfer) get redirected to their home directory. Any help would be greatly appreciated :)
I gather you're using vsftpd's chroot_local_user setting to keep users within their home directories. If that's enabled, you can use the chroot_list_file setting to pass a file containing the users you don't want to be locked in their home directories.
You can find out more on the vsftpd manual page.
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
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
Since I am not that experienced with Linux this might be an easy, if not too simple question for you. Recently I met an old friend of mine and I want to exchange some files with him. In fact I could send the files by E-Mail or share them by Dropbox or something like that but I want to make use of Linux and my RaspberryPi.
Here, the RaspberryPi can be accessed via SSH and I want my friend to be able to access one specific directory. The one where I place the files.
I don't want him to mess around in the system. Ideally he should be able to only see this one directory.
Is it enough if I create a user and put the files in his home directory?
Thanks in advance
See this introduction to permission management on Linux.
To answer your Question:
Is it enough if I create a user and put the files in his home directory?
Yes, but it's not a perfect solution because the home folder of an user contains some subfolders.
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 8 years ago.
Improve this question
I'm running vagrant with an Ubuntu server 10.04 LTS box. The local folder on my Mac is mounted with NFS and all works fine except for one thing.
I'm developing a PHP project which uses Twig as template system but whenever I modify a template on my Mac and save it, it required two refreshes before Twig can load the template. The first refresh i'm getting an exception telling me that the file cannot be found. the second refresh is fine and the template loads just fine.
When switching back from NFS to the default VirtualBox filesystem all is fine but my dev site become terribly slow, almost to the point it's unworkable.
Anyone has an idea in what direction to look or has a clear solution?