[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

small doubt



>>>>> "Sunil" == Sunil Sarat <sunil@xxxxxxxxxxxxxxx> writes:

    Sunil> linux single tells the default init program which runlevel
    Sunil> (in this case, single or single user mode) to start
    Sunil> at. linux init=/bin/sh tells the kernel not to use the
    Sunil> default init program, but to use the specified one
    Sunil> instead. Your init is probably configured so that it will
    Sunil> ask you for the root password even in single user mode. To
    Sunil> boot in single user mode, even linux 1 will also work.

    Sunil> Hi,

    Sunil> I have one doubt. Then is it that *any* one can just switch
    Sunil> off the server if it is in their reach, switch it on back
    Sunil> again, say linux init=/bin/sh, go directly to root and
    Sunil> change the password?

Put restricted and password in your /etc/lilo.conf.  Then people won't 
be able to boot with modified command-line parameters without giving
the password first.  Of course, you may like to chmod 600
/etc/lilo.conf too.

Regards,

- -- Raju

    Sunil> Thanks in advance

    Sunil> Sunil Sarat

- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Linux India is NOT a forum for Microsoft/India/Pakistan/US/UK bashing.
Flame baits will not be tolerated.  If you can appreciate satire read
http://www.templetons.com/brad/emily.html

------------------------------