[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] Linux Single
Hello Mr. Binand,
Thanks for the suggestion. I appreciate your promptness to reply
so soon. Anyway can I edit the "rc" and other related files that are
invoked when a runlevel is chosen.
What I want to do is that the person writes "linux single" at
the boot prompt and he enters into runlevel 3 or 6.(whichever way)
==> deception.
Thanks in advance.
regards
Vineet Punetha __o
B.E. III yr ECE -\<,
Kumaon Engg College ... (_)(_)
India
v.punetha@xxxxxxxxxxxx
On Wed, 1 Dec 1999, Binand Raj S. wrote:
> vineet forced the electrons to say:
> >
> > help me. Could you tell me some way of restricting a user from getting
> > into a particular runlevel(not necessarily single).
>
> An excerpt from my /etc/lilo.conf:
>
> image=/boot/vmlinuz-2.2.13
> label=linux
> root=/dev/hda2
> password=xxxxxxxx
> restricted
> readonly
>
> This allows no-password access to the default runlevel, but the password is
> needed for any option given at the LILO: prompt (not necessarily a runlevel).
>
> For more details, refer to the lilo.conf(5) man page.
>
> Keep the permissions of lilo.conf as 600, if you are using passwords.
>
> Binand
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.