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
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

C++ to Terminal Question


Post Reply New Thread Subscribe

 
Thread Tools
9homie

 
Member Since: May 26, 2008
Posts: 16
9homie is on a distinguished road

9homie is offline
Hello.

I am trying to execute C++ script, I have written it on a program called CodeBlocks and when I compile it and then run it, it has to load up onto Terminal, but when I get onto it, you have to type in a password into it.

Is there any way to disable this and let everyone just to go on it, or anything like that? Was there a special password installed onto it that I do not know?

Thank You
9homie

P.s. I have set the permissions to everyone and admin and all the others can read & write on it.
QUOTE Thanks
9homie

 
Member Since: May 26, 2008
Posts: 16
9homie is on a distinguished road

9homie is offline
Hello.

I am trying to execute C++ script, I have written it on a program called CodeBlocks and when I compile it and then run it, it has to load up onto Terminal, but when I get onto it, you have to type in a password into it.

Is there any way to disable this and let everyone just to go on it, or anything like that? Was there a special password installed onto it that I do not know?

Thank You
9homie

P.s. I have set the permissions to everyone and admin and all the others can read & write on it.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
so you have to run it as root?

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
9homie

 
Member Since: May 26, 2008
Posts: 16
9homie is on a distinguished road

9homie is offline
Well I have it on the admin account.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
There is a difference between root and an admin account. This is why you have to authenticate to do installs etc (effectively you're sudoing the command).

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
9homie

 
Member Since: May 26, 2008
Posts: 16
9homie is on a distinguished road

9homie is offline
Well we have 1 account, so when you start up mac it goes onto that one, so does that mean it is the root and admin?
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,638
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
I guarantee that unless you specifically enabled root and are logging on as root.. you're logging on as an admin account. Course, not having a clue what your program does/is designed to do I also have no idea why it would require a sudo in the first place.

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
9homie

 
Member Since: May 26, 2008
Posts: 16
9homie is on a distinguished road

9homie is offline
How do I enable root so I can log in as it?
QUOTE Thanks
9homie

 
Member Since: May 26, 2008
Posts: 16
9homie is on a distinguished road

9homie is offline
How do I do it?
QUOTE Thanks

Post Reply New Thread Subscribe


« help with sockets | How to get permissisions to remove directory in Mac OS X? »
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
Beginner's guide to navigating the Terminal in OS X cwa107 Switcher Hangout 20 04-27-2009 01:36 PM
The QUESTION Game ToddG Schweb's Lounge 159 08-15-2007 05:25 PM
terminal sessions abc OS X - Apps and Games 1 03-10-2007 05:40 PM
Ask 'me' a question... eric Schweb's Lounge 22 01-12-2007 06:33 AM
Terminal Problem WROC OS X - Apps and Games 5 01-09-2007 04:01 PM

All times are GMT -4. The time now is 01:34 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?