New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Switcher Hangout The place for switchers to discuss their new machines, and how to work with OS X. General support can be had here for newbie stuff, like "How do I restart my new iMac?" :)

Using the super user account in Terminal by default


Post Reply New Thread Subscribe

 
Thread Tools
macaroony

 
Member Since: Jun 11, 2007
Posts: 5
macaroony is on a distinguished road

macaroony is offline
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!
QUOTE Thanks
bmcgonag

 
bmcgonag's Avatar
 
Member Since: Apr 11, 2007
Location: New Mexico, USA
Posts: 361
bmcgonag will become famous soon enough
Mac Specs: 15" MBP 2.0 GHz, Core Duo, 2 GB Ram

bmcgonag is offline
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
QUOTE Thanks
rman

 
rman's Avatar
 
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
rman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud ofrman has much to be proud of
Mac 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

rman is offline
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!
QUOTE Thanks
macaroony

 
Member Since: Jun 11, 2007
Posts: 5
macaroony is on a distinguished road

macaroony is offline
Thanks guys!

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

Post Reply New Thread Subscribe


« Newbie HD question. | Terminal Services »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Deleting Admin User Account GLBH OS X - Operating System 3 02-24-2010 10:21 AM
User account application problem djmitch OS X - Operating System 6 03-20-2006 01:30 AM
Please Help me, I can't log into my user account. tinyteddy OS X - Operating System 1 02-18-2006 06:54 AM
Super user alejandrico OS X - Development and Darwin 12 12-23-2004 06:07 PM
Can you recover a lost Admin user account? happyleaves OS X - Operating System 9 10-21-2004 04:31 PM

All times are GMT -4. The time now is 02:51 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?