search for: shellscript

Displaying 20 results from an estimated 153 matches for "shellscript".

2002 Sep 17
1
smbclient return status from shellscript?
Hi, I hope this is the correct mailinglist for my question. I've made a script that sends a file to a NT shared folder. As long as I make a successfull connect, I get return status 0... This is a problem, since now I can't make a correct errorhandling if something goes wrong. +/opt/samba-2.0.5a/bin/smbclient //mapa-lap/mapaPublic -E -d0 -I XXX.YYY.ZZZ.WWW -n mapa-lap -N -U guest -c put
2001 Jan 26
8
Password Syncing
Is there a way to have the Samba password file sync up from the Linux (Red Hat 7) password file either automatically or in a batch process. We change user passwords every view months and it's a pain to have to change both files each time. Brad Bell Maharam
1999 Oct 19
2
How to restart Samba conveniently
...ed perfectly. I really like the fact that everything by default goes under /usr/local/samba (I just did the ./configure; make; make install). The one thing I don't see is the start/stop/restart commands like I used to have in my Red Hat rpm installation: /etc/rc.d/init.d/smb restart It was a shellscript to read the .pid files, stop, start or stop and start smbd and nmbd depending on the argument. Is there such a thing included in 2.0.5a compiled from source, and if not, what's the best way for me to "roll my own". Thanks Steve Litt
2010 Apr 11
4
Virusscanning
Hello list, I use currently a non-dovecot pop3 proxy which has the ability to scan all passing mails for viruses. And I like dovecot. I have to combine both. One (and the only) idea is to call a virusscanner a shellscript, installed as PostLoginScript. But I see multiple disadvantages: 1. it's a shellscript which tents to be slow. 2. it's called *on* the mailbox-host, not on a dedicated proxy 3. I think it's slow and I dont't know howto measure. 4. I thint it's slow. 5. I think it's slow. 6....
2002 May 20
2
How can $VARIABLES be used inside smbclient -c'xyz' command strings?
Hi, being a total newbie in shellscripting and similar stuff, I am suffering from a brain freeze around the following problem: * I need to print (or transfer otherwise) to a WinNT box; * the files are send from inside a shellscript; * the script gets the filename on the commandline when started; * so the only knows it works on "$1&...
2019 Sep 23
5
File manager or browser for IMAP?
Hi all, I could really use a file manager or browser to browse my Dovecot IMAP. Ideally it would have hotkeys to move, copy, delete and send. The send part needn't be coded: Just a call to a shellscript which can handle the send the way it's locally the most convenient. Anyone know of such a file manager or browser for IMAP? SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/key Twitter: http://www.twitter.com/stevelitt
2003 Sep 29
1
Fsck (presumably e2fsck) returns exit code 127 on an ext3 file sy stem
fsck (Red Hat Enterprise Linux AS 2.1) returns an exit code 127 on an ext3 file system when run from a shellscript started by cron. Here is the pertinent part of the script: ... fsck -p /dev/${BK_SLICE} 1>/dev/null 2>&1 STATUS=$? if [ ${STATUS} -ne "0" ] then echo "${MIR_PID}: file system check of /dev/${BK_SLICE} failed, status = ${STATUS}" >>${LOG} ... This is the...
2008 Aug 19
3
variables in dtrace scripts
...ions via command line parameters, like " BEGIN { usr_exec=$$1; usr_syscall=$$2; } syscall::usr_syscall:entry /execname == usr_exec && guard++ == 0/ { ... " [this does not work] This would make it possible to create "generic" dtrace scripts. Otherwise, some shellscript with sed-magic would need to be used. thanks Joachim -- Joachim Worringen, Software Architect, Dolphin Interconnect Solutions phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
2013 Jan 10
3
firefox 18
Has anyone managed to get FF 18.0 to work on Centos 5.8? I've been hacking at it, placing a stack of .so files (from Centos 6) into a private directory, then using LD_LIBRARY_PATH to point the system to (in a shellscript that subsequently invokes ff 18) but so far I've not managed to find the right combination. I've moved over libstdc++, all or nearly all the .so files from glib2 and glibc packages. now I"m getting: ./firefox: symbol lookup error: ./libstdc++.so.6: undefined symbol: _ZNSt7num_getIcSt1...
2004 Aug 06
3
parsing icecast 1 and icecast2 logs in GUI web format
I know this was mentioned some time back, but I am curious if anyone has had any further success with this. My radio station is looking for a nice clean comprehensive overview of all connections to our icecast 1 and 2 servers. Someone had tweaked the webalizer program to render all the stats in a nice GUI format. However, there were still a couple items missing. Just wondering what everyone else
2019 Jul 05
3
Re: [PATCH] Add Rust bindings
...cluded and not added to .gitignore. I'm sorry I forgot adding Cargo.lock to .gitignore. I'll add it to .gitignore. However, I think Cargo.toml should be staged. This is because this is a file managed by hands. It contains dependencies, versions, editions, crate name. It can be generated by shellscript which dumps such information. However, I think it may be not preferable. Regards, Hiroyuki 2019年7月4日(木) 19:39 Richard W.M. Jones <rjones@redhat.com>: > On Tue, Jul 02, 2019 at 10:09:00PM +0900, Hiroyuki Katsura wrote: > > I fixed the patch I submitted before based on comments, and...
2015 Aug 27
2
Samba AD firewalld services
...systemd and I will never use that > abortion, I may have to start using freebsd. can you please stop your systemd-trolling or at least assume something has to do with systemd because it has a 'd' letter in the name without informing? not that i will use firewalld instead my iptables shellscripts but at least i take a look what the things i don't want to use are and why i don't want to use them............ https://fedorahosted.org/firewalld/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 18...
2007 Jan 08
3
Adding 4000 Lines to asteriskdb via asterisk -rx ?
Hi there, I want to add 4000 Callerids and Callernames to my asterisk-db. (/var/lib/asterisk/astdb) I do not want an external database or an sql-database because I do not want asterisk to depend on external processes. However, when I do 4000 "database put number name" via a shellscript and "asterisk -rx" I only have 600 entries later in my asterisk- database. The asterisk sockets seems not to be designed for bulk updates to the asterisk-db. I also don't want to add 4000 "sleep 1" to my shell-script. Does anybody have an Idea how to add these lines to aste...
2013 Mar 19
3
2 questions re UPS management
...two computers, the Centos 5.9 box and a Windows XP box. A little googling showed me how to use Samba tools to tell XP to do a shutdown. That works fine. but if I add the command for that into the inittab entry I get an error message (when power fails) about the line being too long. So, I created a shellscript that runs both the command to tell XP to go down, followed by the shutdown command that tells Centos to shut down. I changed the two minute time to 5 minutes to make sure Windoze is all the way down even if it's busy. When I run this script from the commandline it works just fine. but when I t...
2004 Aug 06
0
parsing icecast 1 and icecast2 logs in GUI web format
Hi I'm using webalizer without any modification to parse icecast 1 log files. It's not so bad. I'm also using a set of shellscript to do some stats with mrtg (such as simultaneous listeners graph) and I've planed to make a small java program using mrtg or rrdtool to remplace my shellscript and so avoid to need access to log files. Bests regards, EISELE Pascal Kerry Cox a écrit : >I know this was mentioned some tim...
2007 Mar 14
1
Courier keywords - anyone even tried?
I do realize from the Wiki that the formats are incompatible, and am looking at the Courier spec (http://www.courier-mta.org/imap/?README.imapkeywords.html) and the Dovecot spec (http://wiki.dovecot.org/MailboxFormat/Maildir) trying to see if there's any sane way I could try and write a shellscript. The pain here is the Courier spec, I think I lost a few brain cells trying to understand this convoluted methodology ("When encountering ".N.file" after another ".N.file" was encountered earlier, remove the file with the lesser N, unless the larger of the two Ns is gre...
2010 Dec 09
1
Execute Script on LMTP Deliver?
...rivate/dovecot-lmtp { group = postfix user = postfix } inet_listener lmtp { port = 24 } } $ ls -lh | grep test -rwxrwxrwx 1 root staff 270 2010-12-09 18:05 test.sh $ cat test.sh #!/bin/sh USER=$1 echo $USER > /tmp/newfile basically when a message arrives, it will execute a shellscript which will notify another service that mail has arrived in their inbox
2004 Aug 08
1
asterisk-update script - and the script - Fixed typo
...N PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBFoKEljK16xgETzkRAsHSAJ0XC0g0qVydjyYNzUG7meDyjxRzGgCgtnt2 tCNuk7LSRZG+//K3cpqVr8o= =5yns -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: asterisk-update Type: application/x-shellscript Size: 20379 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040808/ab6534df/asterisk-update.bin
2006 Jan 19
1
(newbie) using dtmf during a call
...trough a sip-adapter (Linksys pap2) with my soundcart from server, and i receive in the asterisk-console putting some digits from a analog-telephon:" << Console receive digit 1 >> " e.g. Now how can i execute some application with this digit?. I have tried, to execute with a shellscript to exploit my applications from the asterisk-console but this console seems to be not really shell-compatible? I want to use it for a art-performance, so im using asterisk not for a company. ..and sorry for my bad english thanks for any hints for a very asterisk-newbie Moritz Wettstein
2003 May 21
1
Problem with (corrupt?) file (fwd)
I've been having a problem for the past several days with a shellscript that has been working without problems for the 11 months. It's working until the comes up with the following error: total: matches=349 tag_hits=4061 false_alarms=1 data=6628073 ERROR: file corruption in public_html/reports/analog/analog.conf. File changed during transfer? I've tr...