Re: Where is setuser ?
At 07:03 27/03/2000 +0200, Magnus Bodin wrote: >On Fri, Mar 24, 2000 at 12:31:02AM -0700, Irwan Hadi wrote: >> >> ulimit -v 2048 >> >> csh -cf '/var/qmail/rc &' >> >> supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb >> -u$USERID -g$GROUPID 0 25 \ >> rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \ >> setuser qmaill cyclog -s500 -n5 /var/log/qmail/qmail-smtpd & >> >> I want to run this script from my init >> My question is, where could I found "setuser" command ? because W/O this, >> the script won't work, and I must do manually the command. > >You are probably using daemontools 0.61. The script snippet above is written >for daemontools 0.53. > >There were a few name changes of programs between these versions, and >therefore it will be hard to reuse the snippet above without modification. >"setuser" has been replaced by "setuidgid", "cyclog" has been replaced by >"multilog", et c. So to make it easy, could I just change all setuser command with setuidgid all cyclog command with multilog etc ? like this below >> setuidgid qmaill multilog -s500 -n5 /var/log/qmail/qmail-smtpd & --- AFLHI 058009990407128029/089802---(102598//991024)
Re: Where is setuser ?
On Fri, Mar 24, 2000 at 12:31:02AM -0700, Irwan Hadi wrote: > > ulimit -v 2048 > > csh -cf '/var/qmail/rc &' > > supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb > -u$USERID -g$GROUPID 0 25 \ > rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \ > setuser qmaill cyclog -s500 -n5 /var/log/qmail/qmail-smtpd & > > I want to run this script from my init > My question is, where could I found "setuser" command ? because W/O this, > the script won't work, and I must do manually the command. You are probably using daemontools 0.61. The script snippet above is written for daemontools 0.53. There were a few name changes of programs between these versions, and therefore it will be hard to reuse the snippet above without modification. "setuser" has been replaced by "setuidgid", "cyclog" has been replaced by "multilog", et c. See Dave Sill's "Life with qmail", which probably is the most refererred documentation around: http://Web.InfoAve.Net/~dsill/lwq.html /magnus -- I AM TODAY'S MONKEY BITE ---> http://hotwired.lycos.com/webmonkey/
Where is setuser ?
ulimit -v 2048 csh -cf '/var/qmail/rc &' supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u$USERID -g$GROUPID 0 25 \ rblsmtpd qmail-smtpd 2>&1 | setuser qmaill accustamp | \ setuser qmaill cyclog -s500 -n5 /var/log/qmail/qmail-smtpd & I want to run this script from my init My question is, where could I found "setuser" command ? because W/O this, the script won't work, and I must do manually the command. --- AFLHI 058009990407128029/089802---(102598//991024)
Re: setuser
On Tue, Feb 01, 2000 at 12:37:08AM +0100, Andreas Altenburg wrote: >i installed tcpserver and daemontools, but cannot locate the comman >"setuser". Which mistake did I make?? You most likely installed version 0.61 of daemontools, and this doesn't have setuser. That command has been replaced by setuidgid. -- See complete headers for more info
setuser
i installed tcpserver and daemontools, but cannot locate the comman "setuser". Which mistake did I make??
Re: Setuser not found
Peter Abplanalp <[EMAIL PROTECTED]> wrote: >I'm in the process of installing qmail. I am following the 'life with >qmail' newbie instructions and the following packages: > >qmail-1.03 >daemontools-0.61 >ucspi-tcp-0.84 > >Now, I have done a search on the archive and found that setuser was >included in an earlier version of daemontools and that newer versions use >setuidgid but what does this mean? Do I need to install the old version of >daemontools or can I make the new version work somehow? Thanks. LWQ clearly states (see http://Web.InfoAve.Net/~dsill/lwq.html#download) that daemontools 0.53 must be used and that 0.61 won't work. Did you really miss that, or did you choose to ignore it? Install daemontools 0.53 following the LWQ directions, and everything will work. If you have to have daemontools 0.61, you're on your own. -Dave
Re: Setuser not found
Peter Abplanalp <[EMAIL PROTECTED]> wrote on Tue, 26 Oct 1999: > Do I need to install the old version of > daemontools or can I make the new version work somehow? Thanks. Yes, if you follow Life With Qmail, you need to use the old version of daemontools (0.53?). There's nothing particularly wrong with that version. Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / "We are chasing the moon, just running wild and free" -- The Corrs
Re: Setuser not found
Make sure you define you path properly. On Tue, 26 Oct 1999, Peter Abplanalp wrote: ; /usr/sbin/qmail: setuser: command not found ; /usr/sbin/qmail: setuser: command not found ; ; Now, I have done a search on the archive and found that setuser was ; included in an earlier version of daemontools and that newer versions use ; setuidgid but what does this mean? Do I need to install the old version of ; daemontools or can I make the new version work somehow? Thanks. ; ; Peter Abplanalp ; ;
Setuser not found
I'm in the process of installing qmail. I am following the 'life with qmail' newbie instructions and the following packages: qmail-1.03 daemontools-0.61 ucspi-tcp-0.84 After following all the instructions up to the 'now you can start qmail' point and finally attempting to start qmail I get the following error: Starting qmail: qmail-send qmail-smtpdsupervise: usage: supervise dir /usr/sbin/qmail: setuser: command not found . /usr/sbin/qmail: setuser: command not found /usr/sbin/qmail: setuser: command not found Now, I have done a search on the archive and found that setuser was included in an earlier version of daemontools and that newer versions use setuidgid but what does this mean? Do I need to install the old version of daemontools or can I make the new version work somehow? Thanks. Peter Abplanalp
Re: setuser command not found
On Sat, 18 Sep 1999 14:10:21 -0700 (MST), James J. Lippard wrote: >rblsmtpd/qmail-smtpd should be run as user qmaild; that is usually done >using tcpserver. > >Jim Lippard [EMAIL PROTECTED] http://www.discord.org/ Thanks again for replying. Each time I make progress, I seem to be hitting a new road block. The following are the contents of my /var/qmail directory total 12 drwxr-xr-x 10 root qmail1024 Sep 18 17:20 ./ drwxr-xr-x 20 root root 1024 Aug 28 17:52 ../ drwxr-sr-x 2 aliasqmail1024 Aug 29 07:03 alias/ drwxr-xr-x 2 root qmail1024 Aug 28 17:59 bin/ drwxr-xr-x 2 root qmail1024 Aug 28 17:59 boot/ drwxr-xr-x 2 root qmail1024 Aug 28 18:00 control/ drwxr-xr-x 2 root qmail1024 Aug 28 17:59 doc/ -rw-r--r-- 1 root root0 Sep 18 17:20 list.txt drwxr-xr-x 10 root qmail1024 Aug 28 17:59 man/ -rwx-- 1 qmaild qmail 223 Sep 18 17:02 qt* drwxr-x--- 11 qmailq qmail1024 Aug 28 17:59 queue/ -rwxr-xr-x 1 root root 204 Aug 30 11:21 rc* drwxr-xr-x 2 root qmail1024 Aug 28 17:59 users/ Contents of rc file === #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Mailbox splogger qmail Contents of qt file === supervise /var/lock/qmail-smtpd tcpserver -v -x/etc/tcp.smtp.cdb -u71 -g1001 0 25 \ rblsmtpd qmail-smtpd 2>&1 | setuidgid qmaill multilog | \ setuidgid qmaill multilog -s500 -n5 /var/log/qmail/qmail-smtpd & After switching to user qmaild, I ran the "qt" script. After a little while tinkering with other system, I executed "qt" again and got the message "/usr/local/bin/setuidgid: Permission denied" Do I need to restart the system? I have also issued the command "telnet localhost 25" and got the following response. Trying 127.0.0.1 telnet: Unabel to connect to remote host: Connection refused. I have followed line by line through the spageti documentation (more like basic programing). Please let me know where or what I am doing wrong!! Thank you in advance. Subba Rao [EMAIL PROTECTED] == Disclaimer - I question and speak for myself. http://pws.prserv.net/truemax/ __
Re: setuser command not found
rblsmtpd/qmail-smtpd should be run as user qmaild; that is usually done using tcpserver. Jim Lippard [EMAIL PROTECTED] http://www.discord.org/ Unsolicited bulk email charge: $500/message. Don't send me any. PGP Fingerprint: 0C1F FE18 D311 1792 5EA8 43C8 7AD2 B485 DE75 841C On Sat, 18 Sep 1999, Subba Rao wrote: > Thank you. The commands suggested in 10b. rblsmtpd, > should they be executed as root or a qmail account (which one?)? > > Thank you once again. > > Subba Rao > [EMAIL PROTECTED] > == > Disclaimer - I question and speak for myself. > > http://pws.prserv.net/truemax/ > __ > On Sat, 18 Sep 1999 14:00:02 -0700 (MST), James J. Lippard wrote: > > >accustamp is replaced with tai64n, and cyclog has been replaced with > >multilog. multilog does timestamps itself, too, so you don't actually > >need tai64n. > > > >Jim Lippard [EMAIL PROTECTED] http://www.discord.org/ > >Unsolicited bulk email charge: $500/message. Don't send me any. > >PGP Fingerprint: 0C1F FE18 D311 1792 5EA8 43C8 7AD2 B485 DE75 841C > > > >On Sat, 18 Sep 1999, Subba Rao wrote: > > > >> What about "accustamp" and "cyclog"? > >> I can't seem to find them. If they are under different names, what could they be. > >> > >> Thank you in advance. > >> > >> Subba Rao > >> [EMAIL PROTECTED] > >> == > >> Disclaimer - I question and speak for myself. > >> > >> http://pws.prserv.net/truemax/ > >> __ > >> On Sat, 18 Sep 1999 16:35:43 -0400, Russell P. Sutherland wrote: > >> > >> >* Subba Rao ([EMAIL PROTECTED]) [18 Sep 1999 16:25]: > >> > > >> >> I am following the instruction in 10b of the FAQ. When I try the command with >"supervise .." > >> >> I get the message saying, > >> >> > >> >> bash: setuser: command not found > >> >> > >> >> Any idea, which package has the "setuser" command? > >> > > >> >It is part of the daemontools 0.53 package. > >> >The newer 0.61 version is completely different > >> >and uses setuidgid. > >> > > >> >-- > >> >Quist Consulting Email: [EMAIL PROTECTED] > >> >219 Donlea Drive Voice: +1.416.696.7600 > >> >Toronto ON M4G 2N1 Fax: +1.416.978.6620 > >> >CANADAWWW: http://www.quist.on.ca > >> > > >> > >> > >> > >> > > > > > > > >
Re: setuser command not found
Thank you. The commands suggested in 10b. rblsmtpd, should they be executed as root or a qmail account (which one?)? Thank you once again. Subba Rao [EMAIL PROTECTED] == Disclaimer - I question and speak for myself. http://pws.prserv.net/truemax/ __ On Sat, 18 Sep 1999 14:00:02 -0700 (MST), James J. Lippard wrote: >accustamp is replaced with tai64n, and cyclog has been replaced with >multilog. multilog does timestamps itself, too, so you don't actually >need tai64n. > >Jim Lippard [EMAIL PROTECTED] http://www.discord.org/ >Unsolicited bulk email charge: $500/message. Don't send me any. >PGP Fingerprint: 0C1F FE18 D311 1792 5EA8 43C8 7AD2 B485 DE75 841C > >On Sat, 18 Sep 1999, Subba Rao wrote: > >> What about "accustamp" and "cyclog"? >> I can't seem to find them. If they are under different names, what could they be. >> >> Thank you in advance. >> >> Subba Rao >> [EMAIL PROTECTED] >> == >> Disclaimer - I question and speak for myself. >> >> http://pws.prserv.net/truemax/ >> __ >> On Sat, 18 Sep 1999 16:35:43 -0400, Russell P. Sutherland wrote: >> >> >* Subba Rao ([EMAIL PROTECTED]) [18 Sep 1999 16:25]: >> > >> >> I am following the instruction in 10b of the FAQ. When I try the command with >"supervise .." >> >> I get the message saying, >> >> >> >> bash: setuser: command not found >> >> >> >> Any idea, which package has the "setuser" command? >> > >> >It is part of the daemontools 0.53 package. >> >The newer 0.61 version is completely different >> >and uses setuidgid. >> > >> >-- >> >Quist ConsultingEmail: [EMAIL PROTECTED] >> >219 Donlea DriveVoice: +1.416.696.7600 >> >Toronto ON M4G 2N1 Fax: +1.416.978.6620 >> >CANADA WWW: http://www.quist.on.ca >> > >> >> >> >> > >
Re: setuser command not found
accustamp is replaced with tai64n, and cyclog has been replaced with multilog. multilog does timestamps itself, too, so you don't actually need tai64n. Jim Lippard [EMAIL PROTECTED] http://www.discord.org/ Unsolicited bulk email charge: $500/message. Don't send me any. PGP Fingerprint: 0C1F FE18 D311 1792 5EA8 43C8 7AD2 B485 DE75 841C On Sat, 18 Sep 1999, Subba Rao wrote: > What about "accustamp" and "cyclog"? > I can't seem to find them. If they are under different names, what could they be. > > Thank you in advance. > > Subba Rao > [EMAIL PROTECTED] > == > Disclaimer - I question and speak for myself. > > http://pws.prserv.net/truemax/ > __ > On Sat, 18 Sep 1999 16:35:43 -0400, Russell P. Sutherland wrote: > > >* Subba Rao ([EMAIL PROTECTED]) [18 Sep 1999 16:25]: > > > >> I am following the instruction in 10b of the FAQ. When I try the command with >"supervise .." > >> I get the message saying, > >> > >> bash: setuser: command not found > >> > >> Any idea, which package has the "setuser" command? > > > >It is part of the daemontools 0.53 package. > >The newer 0.61 version is completely different > >and uses setuidgid. > > > >-- > >Quist Consulting Email: [EMAIL PROTECTED] > >219 Donlea Drive Voice: +1.416.696.7600 > >Toronto ON M4G 2N1 Fax: +1.416.978.6620 > >CANADA WWW: http://www.quist.on.ca > > > > > >
Re: setuser command not found
What about "accustamp" and "cyclog"? I can't seem to find them. If they are under different names, what could they be. Thank you in advance. Subba Rao [EMAIL PROTECTED] == Disclaimer - I question and speak for myself. http://pws.prserv.net/truemax/ __ On Sat, 18 Sep 1999 16:35:43 -0400, Russell P. Sutherland wrote: >* Subba Rao ([EMAIL PROTECTED]) [18 Sep 1999 16:25]: > >> I am following the instruction in 10b of the FAQ. When I try the command with >"supervise .." >> I get the message saying, >> >> bash: setuser: command not found >> >> Any idea, which package has the "setuser" command? > >It is part of the daemontools 0.53 package. >The newer 0.61 version is completely different >and uses setuidgid. > >-- >Quist Consulting Email: [EMAIL PROTECTED] >219 Donlea Drive Voice: +1.416.696.7600 >Toronto ON M4G 2N1Fax: +1.416.978.6620 >CANADA WWW: http://www.quist.on.ca >
Re: setuser command not found
* Subba Rao ([EMAIL PROTECTED]) [18 Sep 1999 16:25]: > I am following the instruction in 10b of the FAQ. When I try the command with >"supervise .." > I get the message saying, > > bash: setuser: command not found > > Any idea, which package has the "setuser" command? It is part of the daemontools 0.53 package. The newer 0.61 version is completely different and uses setuidgid. -- Quist ConsultingEmail: [EMAIL PROTECTED] 219 Donlea DriveVoice: +1.416.696.7600 Toronto ON M4G 2N1 Fax: +1.416.978.6620 CANADA WWW: http://www.quist.on.ca
setuser command not found
I am following the instruction in 10b of the FAQ. When I try the command with "supervise .." I get the message saying, bash: setuser: command not found Any idea, which package has the "setuser" command? THank you in advance for any help. Subba Rao [EMAIL PROTECTED] == Disclaimer - I question and speak for myself. http://pws.prserv.net/truemax/ __
Re: setuser - life with qmail
"Ari Arantes Filho" <[EMAIL PROTECTED]> wrote: >I'm trying to put qmail to automatic startup. > >When I try to: > >supervise /var/supervise/qmail/send /var/qmail/rc | setuse qmaill multilog >/var/log/qmail & > >Error: >bash: setuser: command not found > >What is setuser? setuser is a utility from daemontools 0.53. If you're following "Life with qmail", you should have installed daemontools in Section 2.7: http://Web.InfoAve.Net/~dsill/lwq.html#install-daemontools However, you're apparently trying to use daemontools 0.60/0.61 (because you replaced cyclog with multilog), in which setuser was replaced by setuidgid. -Dave
Re: setuser - life with qmail
Ari Arantes Filho writes: > bash: setuser: command not found > > What is setuser? Try "setuidgid". Some documentation hasn't caught up with daemontools-0.61. -- -russ nelson <[EMAIL PROTECTED]> http://russnelson.com Crynwr sells support for free software | PGPok | Government schools are so 521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | can outdo them. Homeschool!
setuser - life with qmail
Hi, I'm trying to put qmail to automatic startup. When I try to: supervise /var/supervise/qmail/send /var/qmail/rc | setuse qmaill multilog /var/log/qmail & Error: bash: setuser: command not found What is setuser? Bye, Ari