LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-05-2007, 06:18 AM   #1
abedd
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Rep: Reputation: 0
configuration files rumor


is it true that modifying conf files in SUSE/red hat could lead to system troubleshooting? is it true that we should use the command line for everything even if we know how to modify conf files such as crontab? can i modify every conf file using the command line assuming that i dont install Gnome or KDE?
 
Old 04-05-2007, 06:42 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by abedd
is it true that modifying conf files in SUSE/red hat could lead to system troubleshooting?
Any OS will have this problem...
There are rumors that if you remove the registry in Windows, you might have some system troubleshooting to do
Quote:
is it true that we should use the command line for everything even if we know how to modify conf files such as crontab?
No, if the Graphical Interface is well done, there should be no problem. Suse or RedHat are very well tested so if you keep with a stable (==tested)release there will be no problem.
But the computer can not correct human stupidity, so putting garbage information in conf files (or registry, whatever) will lead to garbage..
User rights (never running as root) helps to prevent human stupidity. A user can only make harm to HIS account. Root can make harm to the WHOLE SYSTEM.
Quote:
can i modify every conf file using the command line assuming that i dont install Gnome or KDE?
Yes, you have the choice of running Linux without GUI, so it's done in a way that everything can be tweaked by command line.
It's what happens with internet servers. Most of them have no X-window and no KDE, Gnome, Xfce, Fvwm2 (this one is really light though)

Where did that rumors come from?

Last edited by nx5000; 04-05-2007 at 06:43 AM.
 
Old 04-05-2007, 02:21 PM   #3
abedd
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy my question again

here's exactly what i once read about SUSE:

"The Linux system stores all user and group configuration data in the following files:
/etc/passwd
/etc/shadow
/etc/group
Whenever possible, you should not modify these files with an editor. Instead use the Security and Users modules provided in YaST or the command line tools. Modifying these files with an editor can lead to errors (especially in /etc/shadow), such as a user—including the user root—no longer being able to log in."

are there any conf files other than these three modifying them (correctly) with an editor could lead to errors, dude i'm a newbie but not THAT NEWBIE, i know removing a registery file in any OS could lead to troubleshooting, but what i meant was modifying conf files manually with an editor CORRECTLY WITH NO MISTAKES, and not using the command line or GUI tools to do the functions i expect from modifying these files manually, could this lead to errors?
thx dude 4 replying and that rumor thing was a very bad subject for my thread!

Last edited by abedd; 04-05-2007 at 02:23 PM.
 
Old 04-05-2007, 02:42 PM   #4
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
I've been using Linux as a main desktop for only a short amount of time, also. I've been in the Windows world for a very long time, though, and know a lot about editing INI files, etc. directly. I understand the possible problems related to directly modifying files, in some cases rendering the computer "broken".

In my time with Linux I have also modified conf files. Most of the time it works, but there are times when it's just plain easier to use a CLI utility, especially when multiple files must be modified. This is true in the case of adding new users, where they are added to the /etc/passwd, /etc/groups, etc. files.
 
Old 04-07-2007, 04:26 PM   #5
abedd
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
ok

ok thanks man, so it's risky only when it comes to modifying conf files of user and group ?

thanks any way.

Last edited by abedd; 04-07-2007 at 04:29 PM.
 
Old 04-07-2007, 05:47 PM   #6
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by abedd
ok thanks man, so it's risky only when it comes to modifying conf files of user and group ?

thanks any way.
I was using the user/group example ... as an example of a relatively complicated, and dangerous conf change. Other, probably less dangerous conf changes might be to your xorg.conf file, which could render X unusable.

With the user/group example, say you modify the /etc/passwd file, and change something in the root user's configuration incorrectly, you may not be able to log back in as root, and might not be able to obtain superuser access to fix it. That would be a very bad thing to screw up. Hence, it's probably safer to allow the CLI utilities to change the files.
 
Old 04-07-2007, 06:53 PM   #7
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
As long as you know what you're doing, any config file can be manually edited. 9 out of 10 people don't know what they're doing though (a drive on pretty much any roadway in the entire world will support this) and for that reason, the recommended way to modify those files is through a front-end.

As stated before, the user can render his system unusable by careless or sloppy editing, so if you do want to manually edit a file, just proceed carefully
 
Old 04-08-2007, 05:13 AM   #8
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
When I last used Suse it would undo all manual changes the next time you ran yast. So it's quite senseless to do manual changes on Suse if you're runnning the config tools as well.
 
Old 04-08-2007, 05:53 AM   #9
abedd
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Smile

now i get it, thx guyz, i think i'm gonna stick with the cli toolz unless i dont know the exact cli's of certain stuff then i might choose to edit the conf files manually very carefully.
 
  


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
LXer: 2nd-gen Nokia Linux tablet rumor redux LXer Syndicated Linux News 0 12-01-2006 03:33 PM
LXer: Oracle Linux rumor puts pressure on Red Hat LXer Syndicated Linux News 0 10-17-2006 05:54 PM
LXer: LinuxWorld Rumor Mill Turns LXer Syndicated Linux News 0 04-01-2006 09:54 AM
Rumor? Gentoo Virus? Darkstar274 Linux - Software 3 07-06-2004 02:54 PM
This may be a rumor but it might be true!! Rodcl Linux - General 14 06-14-2002 03:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration