Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 14, 2012, 02:53 AM   #1
JoshBoy
macrumors 6502
 
Join Date: Oct 2008
Location: Sydney, Australia
Send a message via AIM to JoshBoy Send a message via MSN to JoshBoy Send a message via Skype™ to JoshBoy
Need urgent help to run in root

I am trying to get terminal to run in root, when i type in sudo -s i get this response, please help

Last login: Tue Mar 13 21:46:28 on console
unknown-e4-ce-8f-31-f3-fa:~ joshua$ sudo -s
sudo: can't open /private/etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
unknown-e4-ce-8f-31-f3-fa:~ joshua$
__________________
JoshBoy is offline   0 Reply With Quote
Old Mar 14, 2012, 03:55 AM   #2
xStep
macrumors 68000
 
Join Date: Jan 2003
Location: Lost in Minneapolis
In case it matters, and it might with Lion, tell this audience what version of OS X you are using.

Is the user account that you are using have "Allow user to administer this computer" checked?
__________________
My App: CameraTime - Time lapse photography for novice and advanced users.
xStep is offline   0 Reply With Quote
Old Mar 14, 2012, 03:59 AM   #3
JoshBoy
Thread Starter
macrumors 6502
 
Join Date: Oct 2008
Location: Sydney, Australia
Send a message via AIM to JoshBoy Send a message via MSN to JoshBoy Send a message via Skype™ to JoshBoy
I am online and it worked out by creating a root user (not another normal user account) and involved logging out and logging in as the "root" user that was then displayed
__________________
JoshBoy is offline   0 Reply With Quote
Old Mar 14, 2012, 10:56 AM   #4
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
You can skip the logging in/out step by changing users in the terminal itself with "su adminUserName" (it will ask for the admin user's password).

This does not really belong in the Programming forum.
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
URGENT: UT2004 won't run anymore (:)) Jethryn Freyman PowerPC Macs 2 Feb 10, 2013 01:27 PM
Need urgent advise - Can MBA 11.6 run Win 7 ? mjoshi123 MacBook Air 4 Dec 20, 2012 05:48 AM
Run as root or not? Forkjulle Mac Basics and Help 15 Aug 23, 2012 04:22 AM
Run Terminal Command as root on Startup evilblob OS X 10.8 Mountain Lion 1 Aug 2, 2012 01:25 AM
[Game] Run Tappy Run (by Tapps) - Universal App fwatanabe iPhone and iPod touch Apps 0 Jul 16, 2012 03:22 PM

Forum Jump

All times are GMT -5. The time now is 09:39 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC