LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-27-2011, 07:24 AM   #1
zoealamode
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
Doc CPU
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,
Quote:
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
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,252

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
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.
  


Reply


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


All times are GMT -5. The time now is 02:19 AM.

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