Hi,
        if your problem is only allow users to reboot your
Linux Box without having root passwd, you might want to consider
sudo package.

        I don't think sudo is shipped with RH 5.2 by default, so
you have to check out for this.

        Start create a file /etc/sudoers as root and with umask 440
and put this inside:

root                            ALL=ALL
your_friend's_account#1         ALL=/sbin/reboot/
your_friend's_account#2         ALL=/sbin/reboot/
ecc. ecc.

When your friends need to reboot the system they simply type (after logged
with themselves account)

sudo reboot

and they will be prompted for themselves password (NOT ROOT PASSWD),
after this check system reboot.

Most restrictive policies about executing programs as root
are avaiable, see the documentation about this fact.

                Bye, Maurizio.

Reply via email to