Re: su : must be run from a terminal

2004-11-08 Thread Ben Hutchings
Gilbert, Joseph wrote: There are two other standard ways to have scripts run with root privileges. 1) For automated tasks, schedule it in root's crontab. 'man crontab' for more info 2) Use setuid for scripts or programs that are to be run by users who need root perms to perform a specific task pro

Re: su : must be run from a terminal

2004-11-04 Thread Pigeon
On Wed, Nov 03, 2004 at 03:09:35PM -0800, Gilbert, Joseph wrote: > There are two other standard ways to have scripts run with root privileges. > > 1) For automated tasks, schedule it in root's crontab. 'man crontab' for > more info > > 2) Use setuid for scripts or programs that are to be run by

RE: su : must be run from a terminal

2004-11-03 Thread Gilbert, Joseph
ammed into that script. You need to think about security on this one though. See 'man setuid' and 'man chmod' for more info. Joe -Original Message- From: Martin Fluch [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 1:39 AM To: [EMAIL PROTECTED] Subject: R

Re: su : must be run from a terminal

2004-11-03 Thread Martin Fluch
, STEPHANE DURIEUX wrote: Hi, I have made a short script with the su command within I have tried : echo -ne "password\n"|su - root But it gives me the following message. su : must be run from a terminal Have you any idea Thanks Stephane Durieux Vous manquez dÂ’espace pour stocker vos mai

su : must be run from a terminal

2004-11-03 Thread STEPHANE DURIEUX
Hi, I have made a short script with the su command within I have tried : echo -ne "password\n"|su - root But it gives me the following message. su : must be run from a terminal Have you any idea Thanks Stephane Durieux Vous manque