Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #55843

Re: Setting up "root" user in OS X "Mavericks"

From Sandman <mr@sandman.net>
Newsgroups comp.sys.mac.system
Subject Re: Setting up "root" user in OS X "Mavericks"
Date 2014-02-04 11:36 +0000
Message-ID <slrnlf1kcj.3hq.mr@irc.sandman.net> (permalink)
References <1lgj9ve.j894gc1to0570N%peter@pfjames.co.uk> <slrnlf1d7b.3hq.mr@irc.sandman.net> <1lgjj1c.1tqjewa1oqf9vkN%pfj@doesn't.exist.com>

Show all headers | View raw


In article <1lgjj1c.1tqjewa1oqf9vkN%pfj@doesn't.exist.com>, Peter James <pfj@doesn't.exist.com> wrote:

>> > I need to enable the root user in Mavericks v 10.9.1 so I can access my
>> > Crash, Console, and System Logs.
>>
>> No you don't.
>>
>> /var/log/system.log is readable by the admin group, which I assume you're
>> in, so you can read it whenever. Same with /System/Logs/CrashReporter
>>
>> Using the Console application, /Applications/Utilities/Console, you can
>> read just about any log file on the system.
>>
>> Anything you actually need root privileges for can be accessed with the
>> sudo command, like "sudo cat logfile.txt" or even "sudo -s" which will
>> start a root shell under your current user.
>>
>> There is no need for you to enable the root user.
>
> OK I can access the log files and crash reporter via Console.  Thank you. 
> However, I can't utilise "sudo" as neither my admin password or user 
> password are accepted.

That's weird, if you're an admin on the machine, and thus in the admin 
group, then this should be no problem at all. "sudo -s" should ask for you 
password, and when given should give you a root shell.

/etc/sudoers is the file where all users that can use sudo is listed, but 
you need to actually be root to see the contents of that file. And it lists 
the admin group as such:

	%admin	ALL=(ALL) ALL

So if you're in the admin group and still can't use sudo, then I'm going to 
assume that this has been altered some way, which seems unlikely, but I 
don't know the history of your Mac, so... :)


-- 
Sandman[.net]

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Setting up "root" user in OS X "Mavericks" peter@pfjames.co.uk (Peter James) - 2014-02-04 08:30 +0000
  Re: Setting up "root" user in OS X "Mavericks" Sandman <mr@sandman.net> - 2014-02-04 09:33 +0000
    Re: Setting up "root" user in OS X "Mavericks" pfj@doesn't.exist.com (Peter James) - 2014-02-04 10:42 +0000
    Re: Setting up "root" user in OS X "Mavericks" pfj@doesn't.exist.com (Peter James) - 2014-02-04 11:12 +0000
      Re: Setting up "root" user in OS X "Mavericks" Sandman <mr@sandman.net> - 2014-02-04 11:36 +0000
      Re: Setting up "root" user in OS X "Mavericks" Doug Anderson <ethelthelogremovethis@gmail.com> - 2014-02-04 07:09 -0800
      Re: Setting up "root" user in OS X "Mavericks" Jolly Roger <jollyroger@pobox.com> - 2014-02-04 15:18 +0000
        Re: Setting up "root" user in OS X "Mavericks" pfj@doesn't.exist.com (Peter James) - 2014-02-04 19:25 +0000
          Re: Setting up "root" user in OS X "Mavericks" Alan Baker <alangbaker@telus.net> - 2014-02-06 12:25 -0800
  Re: Setting up "root" user in OS X "Mavericks" Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-02-04 14:52 +0000
  Re: Setting up "root" user in OS X "Mavericks" Warren Oates <warren.oates@gmail.com> - 2014-02-04 13:08 -0500
  Re: Setting up "root" user in OS X "Mavericks" me@home.spamsucks.ca (Kiraly) - 2014-02-04 23:40 +0000
    Re: Setting up "root" user in OS X "Mavericks" peter@pfjames.co.uk (Peter James) - 2014-02-05 11:03 +0000
      Re: Setting up "root" user in OS X "Mavericks" Lewis <g.kreme@gmail.com.dontsendmecopies> - 2014-02-05 13:36 +0000

csiph-web