search for: shellscripts

Displaying 20 results from an estimated 157 matches for "shellscripts".

Did you mean: 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
I just downloaded and installed the source to 2.0.5a, and it worked 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,
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
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"; * the problem is, that the original filename needs to
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
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}
2008 Aug 19
3
variables in dtrace scripts
Greetings, is there a way to specify probes and other dtrace operations 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
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
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
> Have you decided whether we need to commit the generated files > (Cargo.toml, Cargo.lock)? It looks like in this series those files > are still included 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
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: 181...
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
2013 Mar 19
3
2 questions re UPS management
Hi, trying to figure out how the system manages UPS connections. On both Centos 5.9 and 6.4, merely plugging in a USB UPS device causes an icon to appear in the top panel, and (at least on 5.9, haven't yet tested this in 6.4) when the UPS suffers a power failure the system notices and after a bit does a clean shutdown. All this without installing ANYTHING extra. one of the UPSes I'm
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
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
2010 Dec 09
1
Execute Script on LMTP Deliver?
Is it possible to have dovecot 2.0.8 using LMTP run a shell script each time it delivers a message to a users mailbox? I see there's an "execute = script /path/to/script" but when i added it to lmtp service in 10-master.conf, it didnt do anything and stopped delivering mail altogether service lmtp { executable = script /usr/local/bin/test.sh u% unix_listener
2004 Aug 08
1
asterisk-update script - and the script - Fixed typo
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Here's a version I modified which grabs either a development or stable verision, and does a backup before updating from CVS. It also asks for addon's and cc. Leif Madsen did the original development and Mark released it. My changes does the minimum changes to previous version, to get what I need. It does the same version checking as the
2006 Jan 19
1
(newbie) using dtmf during a call
hi, im complete new with asterisk, so.. i want to be able using dtmf during a call, for execute a application. Now i'm still making phonecalls 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
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 tried deleting some of