Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-27-2011, 07:24 AM   #1
LQ Newbie
Registered: Nov 2011
Posts: 7

Rep: Reputation: Disabled
Smile Runlevel

hello.runlevels 2-3-4-5 how are in system they are together run or call one and stop other or customize , or ... , how i can dont allow access one user just can access to runlevel 0 ?
Old 11-27-2011, 09:18 AM   #2
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,
Originally Posted by zoealamode View Post
hello.runlevels 2-3-4-5 how are in system they are together run or call one and stop other or customize , or ... , how i can dont allow access one user just can access to runlevel 0 ?
my short answer is: Huh??

In fact: I don't understand what you mean. Really not. And I tried hard.
If your English isn't good, try to make short, simple sentences. If we all try, it will work.

[X] Doc CPU
0 members found this post helpful.
Old 11-27-2011, 11:09 AM   #3
Senior Member
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,261

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
The runlevels are (or in some distribution were) a state of machine, you can't independently stop some and start others, just one state at a time. To switch beatween them you invoke command "telinit" with state as argument, to check which state is now you can use command "runlevel".

To customize what should be executed during entering and exiting from each state you can manipulate /etc/rc?.d directories best with appropriate commands, which I do not remember now. You can't nomally allow or disallow switching runlevels for each user, however probably you can write some script which do it as you want. But this is irrational that users have access to changing runlevels as this is not a tool to start or stop some applications, but to changing of state whole system.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 02:10 PM
booting into runlevel 5, but I have it set for runlevel 3. Help. punt Fedora 13 06-01-2011 05:18 PM
[SOLVED] Getting a text console runlevel in Kubuntu 10.04 (Changing runlevel won't work) gregorian Linux - Newbie 4 09-05-2010 11:50 AM
New Install of PCLinuxOS boots into runlevel 3. Should be runlevel 5 MonctonJohn Linux - General 4 02-01-2008 05:38 PM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 10:15 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration