Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-21-2013, 09:34 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2013
Posts: 7
Rep: 
|
Password on run-level 1
hello..
how to set password on runlevel 1.
|
|
|
|
02-21-2013, 10:09 AM
|
#2
|
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 3,939
|
Note that the "run level" concept is depreciated, and, basically, obsolete in distributions using systemd. What distribution are you using?
|
|
|
|
02-22-2013, 04:10 AM
|
#3
|
|
LQ Newbie
Registered: Feb 2013
Posts: 7
Original Poster
Rep: 
|
i am using RHEL6 and RHEL 5.4 server edition..
|
|
|
|
02-22-2013, 05:08 AM
|
#4
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,021
|
Its just
assuming you're logged in as root. To change root's passwd, you can skip specifying the root username.
|
|
|
|
02-25-2013, 07:03 AM
|
#5
|
|
LQ Newbie
Registered: Feb 2013
Posts: 7
Original Poster
Rep: 
|
i m asking for init S or init 1 not for init 5.
when we boot our linux os we can place bootloader password but i wan t to give password on init 1(run level 1) so no one can enter or get access in runlevel 1..
|
|
|
|
02-25-2013, 09:13 AM
|
#6
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,808
|
Quote:
Originally Posted by Siddharth Sharma
i m asking for init S or init 1 not for init 5.
when we boot our linux os we can place bootloader password but i wan t to give password on init 1(run level 1) so no one can enter or get access in runlevel 1..
|
...which you can't, since runlevel 1 is only single user for maintenance/rescue purposes. And even if you could, it's pointless, since someone can just boot the system with a CD/DVD/USB drive, mount the drive from there, and remove the password from the shadow file.
|
|
|
|
02-25-2013, 04:03 PM
|
#7
|
|
Guru
Registered: Aug 2005
Posts: 9,539
|
As above
the boot password is almost as useless
with the exception of on say a laptop
your "normal below average" thief will not know how to bypass it
( unless they can use google)
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|