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
Does sudoers file required to restart to take changes effect. If yes, then how we can restart? without resarting the system.
If your question is : "do I need to restart my machine if I add someone in the sudoers file ?" the answer is : No, you don't need to restart, the newly user added in the sudoers will be able to use sudo as soon as you save the file.
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 7 years ago.
Improve this question
I am using Linux system but by mistake I fired a chmod command as follows:-
chmod -R 777 /
after that I restart my System. But when I try to login, the system is login but after 2-3 seconds again to login window. Please help me to solve this problem.
Just get your important files and configs backup them. format the partition which the OS installed, then reinstall again, sorry there is no easy way to correct these permissions.
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
When I enter the command:
apt-get update
I get an error message telling me that it cant open the lock file. Can anyone explain why this causes a problem and how I can avoid it in the future?
cant open the lock file
You can 2 reasons of this problem:
you run apt-get update without administrative privileges. Use sudo or login as root.
in your system running another apt-get, aptitude, synaptic, Software Center or Update Manager. Close it ant try again.
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
That's is the question.. how can i jail a user in a certain folder so that he can create files like images but can no go up using the command cd .. or see other folders outside?
Thanks.
Read about chroot http://linux.die.net/man/1/chroot
You can even create a minimal environment for the user
Alternatively just use file permissions so that the user is only able to see what the user should be able to.
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 have a regular username on a linux machine. I also have the root privilege. Today I found my username was deleted. That is, if I logged in as root and then ran
su myusername
The systems said "myusername" does not exist. I checked file /etc/passwd and "myusername" was not there.
My question is, is there anyway to find out who deleted "myusername"?
You might try something like this:
grep "deluser" /home/*/.bash_history /root/.bash_history
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
A computer has been overloaded with too many windows/programs at once which leads to crash. Unfortunately the system is configured (somehow) to reload all of these windows/programs on reboot, does anyone know how to get around this and have a clean boot? Thank you..
Log into a terminal (hit ALT+CTRL+F1) and edit/remove your session file (dependent on desktop environment).
Better aks for help on askubuntu