[LBo] changing run level
Rafi Gabzu
rafi.gabzu at gmail.com
Sat Dec 2 22:25:17 CET 2006
Thanks, I found it under sudo /sbin/init .
Why /sbin doesn't exist in PATH ?Should I add it ? how ?
Thanks ,
Rafi
On 12/2/06, Chris F.A. Johnson <cfajohnson at teksavvy.com> wrote:
> On Sat, 2 Dec 2006, Rafi Gabzu wrote:
>
> > How do I change run level , telinit wont work in my machine (debian sid )?
>
> What does "wont work" mean?
> Is the command found?
> What does happen when you call the command?
> Does it produce an error message?
>
> To change run level, use init or telinit (the latter is a link to
> the former). These commands are in /sbin, which is not in most
> users' PATH, so it must be called explicitly: /sbin/init.
>
> It may also need to be called by root, rather than a regular user,
> so try it with "sudo /sbin/init".
>
> --
> Chris F.A. Johnson <http://cfaj.freeshell.org>
> ===================================================================
> Author:
> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
> --
> QnA mailing list - To post: QnA at linuxbasics.org
> Site: http://LinuxBasics.org
> List-options: http://LinuxBasics.org/cgi-bin/mailman/listinfo/qna
>
More information about the QnA
mailing list