I currently write GUI business applications for Windows using Borland C++ Builder, but would like to convert them to cross-platform (Windows and Linux/Gnome). And that presumably means using Java. No problem there; I'd like to learn Java.
However, I'm not quite sure what tools to use and have a...
I'm totally new to PHP, but I've taken over the maintenance of a website which uses PHP, and have copied it for testing purposes to my local Debian server which runs Apache 2.2 with the PHP 5.2.0 module. I notice that on my local server, the PHP function array_merge($arg1,$arg2) aborts if the...
I'm trying to write a HTTP header which will cause a specific cookie to be written, overwriting any of the same domain and name that already exists. I have:
Set-Cookie: login=user:password; path=/; domain=.domain.com
but that does not overwrite a cookie that already exists.
Can anybody help...
I want to ensure that all files in users' home directories have their permissions set by default to 0660 (0770 for directories). If I put "umask 007" in .bashrc, that takes care of files created by Bash, and Samba seems to use those permissions by default, but what about other programs? Is there...
I want to have certain jobs done every time I log out on my Debian Sarge machine. Specifically, unmounting certain removable storage devices, and possibly other jobs. Does anybody know of a way I can implement this?
Thanks.
I have some files that were compressed using the standard zlib library, and I'm looking for a shell command that will uncompress them. I also need a shell command to create compressed files in zlib-compatible format.
I've checked gzip/gunzip and compress/uncompress, but could not get them...
Does anybody know of any per-share Samba setting that will if necessary automatically create the directory associated with the share, when Samba is started? I've searched the docs and web but found nothing.
Thanks.
I want to write a procedure that will create a file, then open the default mail client program, creating a new message with the file attached, ready for the user to fill in the address and cover note and send. Since this is a popular feature in many applications, I presume there's a simple...
I want to have all mail for "root" forwarded to "tony", and also have any mail for "tony" copied to an external address, so in /etc/aliases I have (inter alia):
postmaster: root
root: tony
and in ~tony/.forward I have:
tony
otheraddress@otherdomain.com
Now, mail for "root" does get forwarded...
I'm writing a script to send an auto-response to each e-mail received into a user's mailbox when he/she is away, but am conscious of the need to avoid creating a mail loop. For example, if the auto-response message gets bounced, I don't want to issue another auto-response. However, I'm really...
I'm writing a script to send an auto-response to each e-mail received into a user's mailbox when he/she is away, but am conscious of the need to avoid creating a mail loop. For example, if the auto-response message gets bounced, I don't want to issue another auto-response. However, I'm really...
I'm looking for a program which reads/edits simple configuration files of the format used by Samba and other (particularly Windows) software, with a structure like:
[Section]
Key = value
The syntax would probably be something like:
ini read sectionname <infile
ini read sectionname...
I need to write a utility which includes parsing an e-mail message into its constituent parts, ending up with the text body and the attachments (all decoded).
I thought CPAN might have such a module, but I can't find anything obvious there. Does anybody know if there is such a module available...
I'm having trouble printing via Samba/CUPS.
The first "printer" I've set up on my Debian server is CUPS-PDF. I can "print" to it (it creates a PDF file in ~/cups-pdf ) at the server no problem. The printer is also accessible from Samba clients, but when I try to print to it from a Samba client...
I'm currently migrating services from a Windows server to a Debian Linux server, and the next item on the agenda is the fax server. The current fax server is only used to handle a small volume of outgoing faxes, which it retrieves from an e-mail server via POP. The faxes are typically...
I'm running a small local network with a DSL modem which all machines, Linux (Suse 9) server and Windows PC's, use as their default gateway. Problem is, whenever there is a problem with the DSL modem, if it's disconnected or otherwise down, then local network traffic slows considerably. It's...
I've heard that cpio is more tolerant than tar of tape data errors; if that's true, I'd like to use it for (single-volume) tape backups.
However, when using cpio, I have to decide on an output format; the default is Binary, but that produces annoying error messages about each file's inode...
Does anybody of a Perl function that returns the amount of free space on a filesystem?
I know I could use a system command like "df" and parse the output, but that's awkward, OS-dependent, and possibly version-dependent.
I have a program running on my NT4 SP6a server which is supposed to run as a service but due to bugs only runs properly when run as an application by a logged-in user. I don't mind leaving myself logged-in permanently until the problem is sorted out, but I find that I get logged-out...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.