From: Oleksii Dzhulai on
Hi!
As you know 10 the recommended way of changing runlevels is through
SMF on Solaris 10.
For example:
#svcadm milestone single-user
It is a knew way.
The old way was through init command, for example:
#init 1
and it works also.

So a question is. Changing runlevel in a new way I don't see changes
with "who -r" command. It keeps to show old runlevel. Is it ok or may
be I do something wrong?
Thanks.

---
http://unixinmind.com
From: usenetpersongerryt on
On Apr 23, 7:57 am, Oleksii Dzhulai <nixl...(a)unixinmind.com> wrote:
>
> As you know 10 the recommended way of changing runlevels is through
> SMF on Solaris 10.
> For example:
> #svcadm milestone single-user
> It is a knew way.
> The old way was through init command, for example:
> #init 1 and it works also.
> So a question is. Changing runlevel in a new way I don't see changes
> with "who -r" command. It keeps to show old runlevel. Is it ok or may
> be I do something wrong?

man svcadm says:
"Changing the system's current milestone with the "mile-
stone" subcommand will not change the current run level
of the system. To change the system's run level, invoke
/sbin/init directly."
From: Oleksii Dzhulai on
On Apr 23, 7:05 pm, usenetpersonger...(a)gmail.com wrote:
> On Apr 23, 7:57 am, Oleksii Dzhulai <nixl...(a)unixinmind.com> wrote:
>
>
>
> > As you know 10 the recommended way of changing runlevels is through
> > SMF on Solaris 10.
> > For example:
> > #svcadm milestone single-user
> > It is a knew way.
> > The old way was through init command, for example:
> > #init 1 and it works also.
> > So a question is. Changing runlevel in a new way I don't see changes
> > with "who -r" command. It keeps to show old runlevel. Is it ok or may
> > be I do something wrong?
>
> man svcadm says:
> "Changing the system's current milestone with the "mile-
> stone" subcommand will not change the current run level
> of the system. To change the system's run level, invoke
> /sbin/init directly."

Oh! Thank you I was not attentive.