Thanks for your explanation... but actually, googling told me that root was
disabled by default in Opensolaris, as it is set to being a "role" and
therefore unavailable for login. As well, I discovered that there is a list
in /etc called "sudoers" and the terminal reacts to the sudo command with:

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

...and then a request for password, which pulls up...

scott is not in the sudoers file. This incident will be reported.

So what does sudo do in Opensolaris?
Sorry if the question is silly.

On Mon, Dec 29, 2008 at 9:38 PM, Mike Meyer <mwm at mired.org> wrote:

> On Mon, 29 Dec 2008 17:32:06 PST Scott <scottmoelker at gmail.com> wrote:
>
> > First of all, it's put in a new GRUB menu that doesn't recognize
> > Ubuntu, so I can't get back into my old system until I download a
> > new Ubuntu livecd and re-install GRUB.
>
> Not surprising to see ON is following GNU/Linux in following windows
> in not recognizing other OS's installs and frying the boot for
> them. Not good, but not surprising.
>
> > Except that in Opensolaris, I can't edit system files as a mere user.
>
> I've never seen any system that had even vague claims of security that
> would allow you to do that.
>
> > I can't log in as root, for some reason, and unlike Ubuntu I can't
> > sudo my way into the file.
>
> This is OpenSolaris, *not* Ubuntu or GNU/Linux. Root no longer exists
> as a user (unless someone put it back); it's now a role (a concept
> that most/all GNU/Linux distros don't have).
>
> > Please, can someone tell me how to fix this thing? How do I get sudo
> > (best option) or root access to my own computer?
>
> I'd say your best option is to learn how to use the facilities of
> OpenSolaris rather than how to get the ones that you're used to from
> other operating systems working. This isn't a GNU/Linux box; it's an
> honest-to-ritchie Unix system (remember what GNU stands for!). Wanting
> to use sudo on OpenSolaris is sorta like wanting to use regedit on
> Ubuntu.
>
> In any case, the magic command should be "pfexec". Use it like sudo
> (i.e. "pfexec vi ....."). Failing that, you can use the "su" command,
> and googling for default root password and your distribution name
> should turn up the appropriate password to use.
>
>       <mike
> --
> Mike Meyer <mwm at mired.org>
> http://www.mired.org/consulting.html
> Independent Network/Unix/Perforce consultant, email for more information.
>
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>



-- 
Scott Moelker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/opensolaris-help/attachments/20081229/ce1c2930/attachment.html>

Reply via email to