Results 1 to 4 of 4
  1. #1
    Using the super user account in Terminal by default

    Member Since
    Jun 11, 2007
    Posts
    5
    Using the super user account in Terminal by default
    Hello all!

    I recently made the switch, and am trying to get to grips with using the Terminal.

    I only have one account on my computer (the admin), and when I try to execute commands in the Terminal, I'm having to use the sudo keyword to have the permission to run the command.

    Shouldn't I be the super user while in the admin account? And what settings do I need to change so that I don't have to type sudo every time?

    I'm not sure if this is related, but can I also prevent installations from
    requesting the admin password for every installation?

    I still have TONS of questions to ask, but I'll split them up over different threads...

    Thanks in advance!

  2. #2
    Using the super user account in Terminal by default
    bmcgonag's Avatar
    Member Since
    Apr 11, 2007
    Location
    New Mexico, USA
    Posts
    361
    Specs:
    15" MBP 2.0 GHz, Core Duo, 2 GB Ram
    Quote Originally Posted by macaroony View Post
    Hello all!

    I recently made the switch, and am trying to get to grips with using the Terminal.

    I only have one account on my computer (the admin), and when I try to execute commands in the Terminal, I'm having to use the sudo keyword to have the permission to run the command.

    Shouldn't I be the super user while in the admin account? And what settings do I need to change so that I don't have to type sudo every time?
    No. Admin, and SuperUser are not the same, and for good reason. If you are always SuperUser, bad things can happen by accident. This is how it is on all Linux/Unix systems.

    You still have alot that you can do without being SU if you use the terminal alot. Most Mac users these days only use the terminal to do things that require SU access, but still to protect us from ourselves this is how it is setup.

    Quote Originally Posted by macaroony View Post
    I'm not sure if this is related, but can I also prevent installations from requesting the admin password for every installation?

    I still have TONS of questions to ask, but I'll split them up over different threads...

    Thanks in advance!
    As far as not requesting admin password, not something you want to do. this is how Windoze was so vulnerable previously, because it didn't require any permission to install software, and you end up with Malware, viruses, etc.

    As for not having to use 'sudo' everytime you enter terminal commands try this.....

    Open Teminal app....

    first command# sudo bash
    Enter password

    Should just let you do all the commands you need until you exit as sudo, or close and quite terminal.

    Best, and remember, SU is powerful, and with great power comes 'OHHHH GOD NOOOOO!!!! please let me undo that!'

    Brian

  3. #3
    Using the super user account in Terminal by default
    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    The only was to get around the pass word prompt for installing anything is to enable the root account and log in to it, which is not enabled. As was suggested, this was done to make your system a little more bullit proof from accidental problems. You can not easily destory your system with using the admin pass word as you can with root access.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  4. #4
    Using the super user account in Terminal by default

    Member Since
    Jun 11, 2007
    Posts
    5
    Thanks guys!

    I'll stick to entering the password for the installations, but I'll give the sudo bash command a try!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Changing default user/account name on Mac OS X 10.6?
    By patrickwilver in forum OS X - Operating System
    Replies: 3
    Last Post: 09-07-2011, 03:27 PM
  2. Sharing Only User Account Missing in Account Preferences Pane
    By Raizen.Z09 in forum OS X - Operating System
    Replies: 0
    Last Post: 07-15-2011, 12:57 AM
  3. Root User-Super user
    By ethan96 in forum OS X - Operating System
    Replies: 3
    Last Post: 03-31-2009, 10:39 AM
  4. Creating a new user account and transferring files from old account
    By m021478 in forum OS X - Operating System
    Replies: 1
    Last Post: 12-21-2008, 07:10 PM
  5. Error in Terminal (Can't log in as super-user anymore)
    By lazyrussian in forum OS X - Apps and Games
    Replies: 10
    Last Post: 06-05-2008, 01:07 AM

Posting Permissions

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