LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run system file checker on ubuntu 10.10 without damaging the system (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-system-file-checker-on-ubuntu-10-10-without-damaging-the-system-874033/)

mansour 04-10-2011 11:16 AM

Quote:

Originally Posted by tommcd (Post 4319789)
Are you having any problems with the computer or the operating system?
Many errors that are displayed during boot are harmless. If it is not causing you any problems then it is likely safie to ignore these error messages.

It seems so.
The History feature and history command are not working. And the /etc/sudoers file isn't producing the outcome I expect from it after I modify it.
(add a new user or command to it)
When I run sudo telinit 1, it gets stuck there and I have to hard boot to my way out. I can see couple of error messages.
Of course, this is just a machine I am using for learning ubuntu, and is not a production machine.


mansour

mansour 04-10-2011 11:19 AM

Quote:

Originally Posted by jmc1987 (Post 4320054)
The -F option don't work on Ubuntu for some reason. Devs didnt like it I guess lol. The best way IMO is to touch /forcecheck


And I did run that command as previously suggested.

touch /forcecheck
reboot


mansour

tommcd 04-10-2011 11:42 AM

Quote:

Originally Posted by mansour (Post 4320063)
It seems so.
The History feature and history command are not working. And the /etc/sudoers file isn't producing the outcome I expect from it after I modify it.
(add a new user or command to it) ...

Well, this is a possible clue as to the source of the error messages you are getting.
Can you post, in as much detail as possible, exactly what modifications you have made to the /etc/sudoers file?
Where you following a tutorial for editing the /etc/sudoers file? If so, can you post a link to it?
Where you getting these errors before you modified the /etc/sudoers file??
Have you tried removing the modifications that you have made to the /etc/sudoers file, and restoring the file to it's pristine, unedited state? Do these errors disappear after you remove these modifications???

It is always a good practice to backup any system configuration files before you edit them.
Here is a tutorial that may help you to restore the /etc/sudoers file if you need it: http://psychocats.net/ubuntu/fixsudo

mansour 04-10-2011 11:53 AM

Quote:

Originally Posted by tommcd (Post 4320095)
Well, this is a possible clue as to the source of the error messages you are getting.
Can you post, in as much detail as possible, exactly what modifications you have made to the /etc/sudoers file?
Where you following a tutorial for editing the /etc/sudoers file? If so, can you post a link to it?
Where you getting these errors before you modified the /etc/sudoers file??
Have you tried removing the modifications that you have made to the /etc/sudoers file, and restoring the file to it's pristine, unedited state? Do these errors disappear after you remove these modifications???

It is always a good practice to backup any system configuration files before you edit them.
Here is a tutorial that may help you to restore the /etc/sudoers file if you need it: http://psychocats.net/ubuntu/fixsudo


Yes, this is a link to my other thread, on this forum about /etc/sudoers file.

http://www.linuxquestions.org/questi...mmands-874010/


and this is the page I was following when I modified my sudoers file.

https://help.ubuntu.com/community/Sudoers

Oh, I am not worried about my /etc/sudoers file as it was before.
I can easily restore it to the original form, but just discouraged that I can't learn how to add new users to the list of sudoers and give them commands to run.

mansour


All times are GMT -5. The time now is 04:03 AM.