LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-10-2011, 11:16 AM   #16
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2

Quote:
Originally Posted by tommcd View Post
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

Last edited by mansour; 04-10-2011 at 11:20 AM.
 
Old 04-10-2011, 11:19 AM   #17
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by jmc1987 View Post
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

Last edited by mansour; 04-10-2011 at 11:21 AM.
 
Old 04-10-2011, 11:42 AM   #18
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by mansour View Post
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

Last edited by tommcd; 04-10-2011 at 11:48 AM.
 
Old 04-10-2011, 11:53 AM   #19
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by tommcd View Post
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

Last edited by mansour; 04-10-2011 at 11:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
On-line system vulnerability checker sites Completely Clueless Linux - Security 3 03-25-2009 06:16 AM
Linpus Fedora after saving files to file system, CAN'T open FILE SYSTEM from desktop! remiwa Fedora 2 01-07-2009 07:28 AM
system file checker jessj Suse/Novell 2 05-28-2005 06:04 AM
System file checker for mandrake GlennsPref Mandriva 6 12-29-2004 02:01 AM


All times are GMT -5. The time now is 06:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration