My original post was:
>
> Greetings,
>
> I have to 'ufsdump' disks in single user mode under Solaris 2.5. The backup
> script is executed from the crontab. The problem is that shutdown
> requires a password. Is it possible to shutdown a Solaris machine without
> giving a password ? This should be helpfull for me.
>
Maybe my explanations were not clear, and all the answers that I
received didn't solved my problem.
Under Solaris, if you run shutdown from the crontab (even from the root
crontab), you will be asked for the root password ('for system
maintenance'). The command I use (and which doesn't work from the crontab)
is: 'shutdown -y -g0'.
Untill I found a good solution, I will continue running my backup script
by hand.
Thanks for the people who replied:
Xu, Guo Miao (Hui, Kwok Miu) <huikomix@dt.com.hk>
Claude Charest <charest@chou.CANR.Hydro.Qc.Ca>
John Bradley <john.bradley@sunman>
Michael McGeown <mcgeown@bbn.com>
Frank Pardo <fpardo@tisny.com>
Rob Pieters <ropieter@ba3sun01.eitc.eds.com>
***
Christophe DIARRA
Institut de Physique Nucleaire
Bat 100 - S2I
91406 ORSAY Cedex
Tel: (33) 01 69 15 65 60
Fax: (33) 01 69 15 64 70
E-mail: diarra@ipno.in2p3.fr
***
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT