LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Do you think full time root is stupid?
Full time root! 7 8.54%
Root is suicidal....... 69 84.15%
I dont care, why does it matter? 6 7.32%
Voters: 82. You may not vote on this poll

Reply
  Search this Thread
Old 12-04-2003, 02:30 PM   #16
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269

Yeah, lets refrain from asking for information for such purposes. If the user really wants to give this information out, LinuxQuestions.org is not responsible for what you post here and what happens thereafter if anything does happen, etc.

Regards.
 
Old 12-04-2003, 02:31 PM   #17
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
So if a person was running as root (hypothetically) and they wanted to stop, is there a way to copy all the desktop settings of the root account to a user account? This includes backgrounds, fonts, icons etc. in KDE.
 
Old 12-04-2003, 02:39 PM   #18
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by Pcghost
So if a person was running as root (hypothetically) and they wanted to stop, is there a way to copy all the desktop settings of the root account to a user account? This includes backgrounds, fonts, icons etc. in KDE.
Not sure whether any of the config files for
KDE store absolute path-/filenames ... if they
don't a simple
Code:
cd ~
cp -R .kde* /home/normaluser
chown -R normaluser /home/normaluser
should do ;)

If they do you'll have to think about some
major awk'ing ;) after the cp

Cheers,
Tink
 
Old 12-04-2003, 06:24 PM   #19
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Dang it, there's no good reason to be root anymore!!!!!!! I feel so alone... Oh well, I guess I just love to have the power of "do or die". rm -rf * is just waiting to be called. Oh and by the way, once you have MSN (what were we thinking?) Internet you know why I would say "DOWN WITH NAT!!!".....
 
Old 12-05-2003, 03:51 AM   #20
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
And what would a hacker do to my computer?
I would call that naive. Next time you complain hotmail.com is down, I don't want to hear you Prepare to receive a nice bill with the post, an investigation why your machine has been involved with hacking, being disconnected by your ISP, getting sued, loosing all your data, being abused for a spam flooding, being abused as tempory FXP board, and DDoSsing all other machines on the internet.

:-|

Quote:
Does anyone else believe in full time root? Please vote... And sorry if you hate me.... FULL TIME ROOT!!!!
I don't hate you. I have to reason for it. I'm just praying for to knowing what you're really doing. Suppose you'll get hacked, you wouldn't even notice.

Soon someone types "dd if=/dev/zero of=/dev/hda", and don't get too surprised. Your machine is currently vulnarable for a lot of attachs, viruses, adware, virtually anything... because you haven't got any way to stop them.

you've given your all programs, and networking traffic, a license to kill your machine, flash your bios, and overwrite your cpu microcode. (if your cpu supports this). Your machine has a lower security level then Windows 95.. and that should ring a bell

sorry for the rant. you may hate me now.
 
Old 12-05-2003, 03:54 AM   #21
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Quote:
Originally posted by Pcghost
So if a person was running as root (hypothetically) and they wanted to stop, is there a way to copy all the desktop settings of the root account to a user account? This includes backgrounds, fonts, icons etc. in KDE.
Code:
useradd -c "Your name" -G ..some groups?..   new-name
cp -R -p -d /root/ /home/new-name
chown newuser:users /home/new-name -R
chmod 700 /home/new-name
I'm just copying the entire folder, because it's the easiest way to copy all hidden files.

add the -v keyword to the cp, chown and chmod commands to see what they are doing.

gotta love the command line.

Last edited by yapp; 12-05-2003 at 03:56 AM.
 
Old 12-05-2003, 08:34 PM   #22
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Ok, so I'm am a naive little freak when it comes to security, your right. And no, I dont hate you, but I do hate Hotmail! I just wonder who the other person that voted for "using root" is... I dont know maybe I'll setup another account on Linux now, any suggustions on what I should name it? Thanks all who have posted.

EDIT: And by the way Dosing all the other computers on the net wouldnt work, mine would crash . And even if it didn't crash it sure would take a while take down one server.

Last edited by HappyDude; 12-05-2003 at 08:36 PM.
 
Old 12-05-2003, 08:47 PM   #23
iamnotherbert
Member
 
Registered: May 2001
Posts: 74

Rep: Reputation: 15
Dang it, there's no good reason to be root anymore!!!!!!! I feel so alone... Oh well, I guess I just love to have the power of "do or die". rm -rf * is just waiting to be called.


I use root from time to time.. But i know whats happening and watch network traffic as well as filesystem changes.. I like to have total control too... Root is god...

I can go two ways on this one..

1.. You can learn a hell of alot messing up your computer with root. What not to do..

2.. You would be a fool to log into your *server or other "stable" systems as root and startx and surf the web or something.. This I would not advise.
 
Old 12-06-2003, 12:44 AM   #24
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
frankly, im not worried about security one bit. with my un-godly 14.4 kbps connection and using mainstream packages from trusted sources (slackware-current) mirror for the most part. heck even if I got a trojan I'll bet my connection would be to damn slow for them to do harm. lol. but seriously my box isnt that inportant anyways, I reformat all the time and religously keep backups

although i do prefer to do things as a user, but i'd probably say my time from user to root is devided in half, cause my system glitches so much. But hey, every time I have a problem I get to learn alot about the specific parts of my system that the problem effects.
 
Old 12-06-2003, 03:37 AM   #25
kidashy
Member
 
Registered: Jul 2003
Location: GA, US
Distribution: Gentoo
Posts: 34

Rep: Reputation: 15
Thumbs down

Not. Most of the answers why have been listed.
 
Old 12-06-2003, 04:55 PM   #26
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
I always su. If I su a command frequently I sudo
 
Old 12-06-2003, 05:54 PM   #27
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Root should only be used sparingly. I can't take credit for this, but another LQ'er described it something like this: Running as root is like putting on a giant robot suit. It's pretty cool to walk around and know that you are all-powerful and unstoppable, but after the initial thrill wears off, you realize that you might accidentally stomp on something that you didn't mean to.

That's just a great description, and it's totally accurate. -- J.W.
 
Old 12-06-2003, 06:22 PM   #28
HappyDude
Member
 
Registered: Jul 2003
Posts: 140

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by J.W.
Running as root is like putting on a giant robot suit. It's pretty cool to walk around and know that you are all-powerful and unstoppable, but after the initial thrill wears off, you realize that you might accidentally stomp on something that you didn't mean to.
And so that's true, I've got my new non root account working. I still miss not ever having to do su and "Hey Look at this file! Its called <whatever system file>, I'll butcher it!!!" But oh well, by the way does anyone know if Halo (yes M$, I'm sorry) works with wine?
 
Old 12-06-2003, 06:58 PM   #29
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Not running as root for routine tasks is an inherent safety feature in *nix.
Running as root for every task bypasses this.
The common solution to someone posting nonsense like this is "good luck" and no follow up "I told you so" when you post later.
Good Luck.
 
Old 12-07-2003, 06:29 PM   #30
Joey.Dale
Member
 
Registered: Jun 2003
Location: Tampa, Fl
Distribution: Gentoo, Slackware
Posts: 828

Rep: Reputation: 39
I run root all the time and yes, I have f**ked up and typed "rm -rf /"
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 03:06 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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