Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Isn't Root Dangerous

  1. #1
    Just burned his ISO
    Join Date
    Jun 2009
    Posts
    3

    Default Isn't Root Dangerous

    Hey i am not a noob, but I have been asking this question for a long time. I know it is dangerous. but how can you run as root safely?

  2. #2
    Moderator theprez98's Avatar
    Join Date
    Jan 2010
    Location
    Maryland
    Posts
    2,533

    Default

    Quote Originally Posted by hacker07 View Post
    Hey i am not a noob, but I have been asking this question for a long time. I know it is dangerous. but how can you run as root safely?
    Protect your password.
    Don't use root unless you need to.
    "\x74\x68\x65\x70\x72\x65\x7a\x39\x38";

  3. #3
    Member imported_Deathray's Avatar
    Join Date
    Oct 2007
    Posts
    381

    Default

    It's really not advised.
    But just make sure everything is kept up-to-date, and that you don't execute any weird code you simply find on the internet ^^ .
    Also, implementation of root was also designed to protect the system from the user himself - so he doesn't go by accidentally destroying the system.
    So keep up-to-date, make sure you don't do any typo's that will screw up your system, and don't execute code/software you are unsure with.
    Easier+safer to NOT run as root imo.
    - Poul Wittig

  4. #4
    Just burned his ISO
    Join Date
    Jun 2009
    Posts
    3

    Default root

    Okay now I know that, I am running backtrack 4 beta and what if I want to copy all my theme settings to a normal user. what would I do?

  5. #5
    Senior Member
    Join Date
    Jan 2006
    Posts
    1,334

    Default

    This question has come up a few times....

    In the normal scheme of things, you'd be wanting to follow the above advice.

    However, with BT there is a specific purpose of running it, as opposed to a "normal everyday" OS.
    For most tasks within BT, you'd want to be running things as root. Because this is "unsafe" it's best not to treat it as a "normal everyday" system.
    If you really want to, you can create a normal priv's user, but there's little point in it for most of the included tools.

    For keeping the "theme" across normal users, there should be a thread or two covering this already, somewhere in the forums

    I don't know how far Muts intends to go with the Ubuntu style "sudo" - I suppose a sudoers profile could be set up to drop and raise privs as required for most tools, but again, I feel that it would be more of a hindrance than a help, because it would be required for practically everything BT related!
    Others may have a different opinion of course

  6. #6
    Junior Member
    Join Date
    Oct 2008
    Posts
    32

    Default

    Quote Originally Posted by hacker07 View Post
    Okay now I know that, I am running backtrack 4 beta and what if I want to copy all my theme settings to a normal user. what would I do?

    Theme settings etc are stored in home directories in hidden dirrectories. Just make a new user using Debian's adduser and:


    cp -aL /root/* /home/NEWUSERNAME

  7. #7
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default

    Quote Originally Posted by Re@lity View Post
    I don't know how far Muts intends to go with the Ubuntu style "sudo" - I suppose a sudoers profile could be set up to drop and raise privs as required for most tools, but again, I feel that it would be more of a hindrance than a help, because it would be required for practically everything BT related!
    I absolutely agree that having to sudo to everything is one of the major annoyances in Ubuntu. Sure it is dangerous to work as root, but hey, it makes you think twice before just doing anything
    In my 10 years of Linux/Unix experience I never had an issue with working as root.
    Just keep in mind to be careful
    Tiocfaidh ár lá

  8. #8
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default

    Quote Originally Posted by KMDave View Post
    I absolutely agree that having to sudo to everything is one of the major annoyances in Ubuntu. Sure it is dangerous to work as root, but hey, it makes you think twice before just doing anything
    In my 10 years of Linux/Unix experience I never had an issue with working as root.
    Just keep in mind to be careful
    You can make ubuntu log in as root. Not that hard to do, just a file edit.

    KDE
    File to edit.

    /etc/kde3/kdm/kdmrc

    Look for,

    # Allow root logins?
    # Default is true
    AllowRootLogin=false <-- Change to true.

    Gnome
    File to edit.

    /etc/gdm/gdm.conf-custom

    Under security add,

    AllowRoot=true

    EasyPeasy.
    Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69

  9. #9
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    dd if=/dev/swc666 of=/dev/wyze

  10. #10
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default

    Barry thanks for giving a detailed explanation. That was the first thing I've googled for after installing Ubuntu a year and a half ago.

    @Wyze:

    Didn't I tell you not to publish that picture of us
    Tiocfaidh ár lá

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •