| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| I've got a bash shell script file which is executed as a service under root. When executing: /usr/bin/mutt -s "subject" -a report.zip yonatan@il.nlayers.com < /dev/null I get: "Error sending message, child exited 67 (User unknown.)" When this is not ran as a service or from the command line, the message get send and I don't get this error. I also echoed "whoami" which resulted in "root". Please advise. |
|
#2
| |||
| |||
| On 18 May 2004 02:49:22 -0700, Jonathan Taub wrote: > When this is not ran as a service or from the command line, the message > get send and I don't get this error. I also echoed "whoami" which resulted > in "root". Please advise. Probably won't help with your current problem, but I'd advise you really not to run as root. Really. Create another user and use that. -- Paul |
|
#3
| |||
| |||
| > Probably won't help with your current problem, but I'd advise you really not > to run as root. Really. Create another user and use that. Can't really do that. The script does many other things besides sending email which require root permissions. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.