Dogpile ping wrote:
> 1. at lilo prompt if i type linux single the system
> boots to $ and there is no login password checking the
> user is root. if i change the password the roots
> password changes. how do i disable this
put the line
restricted
in your /etc/lilo.conf file in the section where your parameters etc
related
to Linux are written. And run
/sbin/lilo -v
And reboot.
This will stop anyone from passing arguments to kernet using Lilo
prompt. Like "single" "vga=ZXY" etc etc [Thanks Binand]
> 2. i start up linux system to stsrt X windows system
> by default at this time i noticed that if without
> logging the system if i select shutdown from menu the
> system shuts down even if i login as root at a
> different console. in short i want only root to start
> and shutdown the system also i want to know how i
> prevent the system from shutting down if no user has
> logged in . if after booting i chose the shutdown menu
> from the login screen in x windows
Make a file called /etc/shutdown.allow and enter the names of users
you wish to be able to shutdown the system. Warn you, this is never a
good idea
to have this file. Let anyone be able to shutdown the system. But let
the bootup be 100% secure.. at times, suppose power is going to be
turned off at a short notice then it is better that the present person
can perform a shutdown. Think about it. I removed this file after some
bitter experiences and three re-installs of the filesystems.
Rohit
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.