To easyly manages background jobs on a set of workstations I have
modified the /etc/crond.d/* files like at.deny, at.allow and queuedefs.
With the queuedefs file I can restrict the number of background jobs and their
priority for not overloading the machine when a user is sitting in front of
for editing and so on.
But many of my users uses csh for their logging shells, and use nohup and/or
nice csh built-in function to send jobs in background.
Perhaps a silly question :
How can I disable nohup and nice csh built-in command ?
(modify the source code ??? )
One reponse and many thanks from: Jochen Bern <bern@TI.Uni-Trier.DE>
There are no trivial solution for this problem, but even if "nohup-csh" is
removed, /usr/bin/nohup still exits ..
Deleting /usr/bin/nohup ??? .... "trap sh" built-in remains...
(IN fact /bin/nohup is a /bin/sh script which uses trap ...).
Soft solution. Explain the policy to all users and by a big gun ...
+ Rene OCCELLI +
+ I.U.S.T.I. C.N.R.S. U.M.R. 6595 +
+ Technopole de Chateau Gombert +
+ 5 Rue Enrico FERMI +
+ 13453 MARSEILLE Cedex 13 France +
+ Tel: (33)04 91 10 69 37 04 91 10 69 38 +
+ Fax: (33)04 91 10 69 69 +
+ Email: firstname.lastname@example.org +
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT