Re: shutdown&power off for ordinary users
On Mon, Dec 04, 2000 at 12:57:11PM +0100, Alson van der Meulen wrote:
> On Mon, Dec 04, 2000 at 12:36:34PM +0100, A.E. Roy wrote:
> > I´m running 2.2 with two users, #1 has the rootpassword, #2 don´t. When #2 is finnished using the machine, he does a logout, and the machine reboots, he then turns the power off, and when restarting it all the partitions has to be cheched because they weren´t cleanly unmounted. How to I make #2 able to cleanly unmount?
>
> Look for /etc/shutdown.allow
In my opinion the simplest way to resolve this problem is to
modify /etc/inittab standard line
# What to do when CTRL-ALT-DEL is pressed.
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
===
to
ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now
===
In this situation (the best in home use) everybody can easly shut
down corretly the system by simple CTRL-ALT-DEL :-).
In KDE it is possible, using kdm, configure the simple user allow shut
down the system. If I remember in wdm it is possible also.
best rigards
--
~~~~~~~ /* |
QLIVER / | / | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~/____| / | ~~~~~~~~~Marcin Landowski~~~~~~~~
_ | /_____| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*_|o|___|_______|______@ qliver@ulgo.koti.pl~~~~~
~~~ \___________________/ ~~~~qliver@poczta.wp.pl~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reply to: