> > I've also tried "echo 'America/New_York' > /etc/timezone" as well
> > instead of copying.
>
> You might also want to do this, but /etc/localtime and
> /etc/timezone provide different information. /etc/localtime
> is machine-readable data that allows libc to map UTC times to
> local times
Hi all,
When I run the cmd "date", I get UTC time on a fresh boot of an imaged
machine. I'd like to find a way to set the time to "America/New_York"
for automatically via script. A reboot is ok if absolutely needed but
not preferred.
I'm aware that I can run "dpkg-reconfigure tzdata" but that
> I want a script that will read the file and look for the name
> "fred", and if it's found, leave the file alone, but if it's
> not found, to add the name "fred" to the bottom of the file.
No need for awk/sed. Something like this should work.
#!/bin/bash
i=`grep fred FILENAME.TXT | wc -l`
if [
> We are using autofs to mount cdrom and dvd iso images. There
> are nearly 100 of them. Too many to really monitor
> individually so we wanted to just monitor autofs. It looks
> to me like each auto.* file in /etc spawns it's own process
> and pid. And the pid changes each time the daemon
> I am trying to find a MIB to monitor AutoFS but everything I
> find is tied to the current pid AutoFS is running under which
> of course changes each time it is restarted making it useless
> as a monitoring metric.
I'm not familiar with autofs but if you do a snmpwalk for OID
.1.3.6.1.2.1.25
I think you want to use sh instead of exec. Quoting from the man page:
"The PROG argument for exec directives must be a full path to a real
binary, as it is executed via the exec() system call. To invoke a
shell script, use the sh directive instead."
Also, I'd double check to make sure the sc
Try running 'netstat -nat | grep 4965' and paste the output.
Also, try running iptables -L and post the output.
Try telnetting from the local machine that runs iptrans. Maybe something
is blocking the outbound traffic on that machine or somehow it's not
getting through.
A few other things to keep
Just want to reiterate that just because we're running Linux doesn't
mean we're immune to these types of attacks. I remember reading a while
ago how there was a trojan that was discovered on one of the files
hosted at www.gnome-look.org masquerading itself as a screensaver. Users
would download the
When posting for help, it would help if you give people enough
information to help you with. It'd help if you posted the output of the
following commands (obviously make sure you have the proper
permissions.):
iptables -t mangle -L
Route
cat /etc/network/interface
Also, it might help if you expl
http://online.wsj.com/article/SB1000142405274870439880457507110383415053
6.html
The diagram shows that the attack still required the end user to click
and download a file and execute it. Conceptually, this is no worse than
running downloading hackme.exe and double clicking on it. There is an
inher
Personally, I'd go with snmp if you are familiar with that. Manufacturer
software to monitor stuff tends to be little more than an afterthought. It's
often badly designed and a mess to use. Also, almost any sort of manufacturer
provided software with a GUI would be windows only. Linux almost alw
Unfortunately, I think that gnome applets are quite lacking in general (if
that's what you're looking for). I tried looking around a few years ago for
something similar and never quite found one that was native to Gnome. Any
reasons why KshowMail isn't being considered anymore?
James
-Orig
You may also want to look at gksudo, which is a gtk frontend for sudo.
James
-Original Message-
From: José Santos [mailto:jsm...@gmail.com] On Behalf Of josé Santos
Sent: February 4, 2010 4:48 AM
To: debian-user@lists.debian.org
Subject: Re: gnome CPU Frequency Scaling Monitor nagging for
Edit fstab and change the file system to ntfs.
Regarding the permissions, you need to make the mount point readable and
possibly writable by your users. There's many ways you can do go about
it, I'd do it via groups.
Here's an example:
'groupadd $GROUPNAME' # create new group
'usermod -G $GROU
I wouldn't dismiss what Marc was onto. If you do the math, 44G in /documents +
11G in the rest of / == 55G, seems to be a bit more than coincidence. I know
you already tried ls -l /documents/ after you umounted but just for curiosity's
sake, I wonder what happens when you do:
umount /documents
I apologize, I just double checked and I think the "mailutils" package
is the more common one. You shouldn't need a database for it. However,
I'd check to make sure you don't already have it the mail command in
your system.
Check your PATH by typing "env | grep PATH" in the command line and
check
n the debian
> repositories, but isn't there a default? My guess is that my hosting
> service installed such a stripped-down version of lenny that I didn't
> get it.
James Wu on 18/01/10 14:50, wrote:
> Assuming you can install new packages, the mail command comes in the
> p
Assuming you can install new packages, the mail command comes in the
package bsd-mailx. Otherwise, you can try using the Postfix sendmail
command. You'll probably have to read the man page as the flags are
different from mail.
James
-Original Message-
From: Adam Hardy [mailto:adam@cy
There's two issues at play here.
1. DNS: I don't think you can CNAME a domain like that. For example, you
can't CNAME example.com but you can CNAME somehost.example.com. You have
to assign your domain the same A record as your other domain. Bind
should be spitting out errors if you try to CNAME l
I've never tried this but I assume it should be possible to use DNS to do basic
round-robining. All you need to do is have 3 A records for the same hostname.
James
-Original Message-
From: Mag Gam [mailto:magaw...@gmail.com]
Sent: Fri 1/1/2010 5:32 PM
To: debian-user
Subject: DNS round r
Google pointed me to these, I think it's worth a try.
https://bugzilla.redhat.com/show_bug.cgi?id=462425#c80
http://forums.fedoraforum.org/showthread.php?t=213585
James
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...
>It sometimes fails, and my keyboard becomes unresponsive. It seems to
be related to
>something which is the output of my dmesg:
>`exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen'
I'm wondering if it's a hard lock or a keyboard lock. Does the mouse
work when you move it around? Is it only
You probably want snmpd as the package to install for the machine to
query from. Snmp as the package to install to make these queries.
I suggest you get very familiar with the snmpd.conf. It is quite useful
and extensible. You can pretty much interface any local script with it
to make it query th
I'm not sure what the scope of the discussion is (ie: mail server for
personal use vs. a company mail server) so what I do might be overkill
for you if you run a home server.
Anyways, I run net-snmpd to pull system information which I then use
nagios to check. If disk usage goes above a certain th
24 matches
Mail list logo