keeping
the current day?
Here is the logrotate file:
/var/log/app/*.log {
daily
rotate 10
compress
missingok
notifempty
create 0644 user user
}
I added notifempty to keep the old empty log files from being compressed...
Thanks,
John
John Kennedy
On Tue, Oct 4, 2011 at 15:22, John Kennedy skeb...@gmail.com wrote:
For changing the hostname without restart use the hostname command:
hostname newhost.domain.com
To keep the new hostname between restarts edit /etc/sysconfig/network, and
change the hostname there.
Also its a good idea
For changing the hostname without restart use the hostname command:
hostname newhost.domain.com
To keep the new hostname between restarts edit /etc/sysconfig/network, and
change the hostname there.
Also its a good idea to check /etc/hosts, it can contain the old hostname,
change/delete it.
John
many people now think that
CentOS is no more enterprise distribution, not at all!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
--
John Kennedy
___
CentOS
think you then need to add your partitions as physical drives and partition
the new drive to match your existing one. Add the new drive partitions as
physical drives and pair them up.
How difficult it is depends on your current set up.
John
--
John Kennedy
to be)/are
better than MS products, not Linux/SUSE stuff.
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
] good shell script examples?
I wrote a simple one a few years back:
http://www.happyhacker.org/gtmhh/basha.shtml
Is there an alternate location for this? My corp's websense blocks
this site for some reason.
They probably only want sad hackers...
John
--
John Kennedy
pgp.mit.edu --recv-keys 5A4873A9
Share and enjoy!!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http
that would just cause a failed login and not ask for a
password then let him in. From reading, it looks like he can SSH, just not
without the password...
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo
No password
If they are all identical from an ssh standpoint (at least the
authorized_keys, /etc/sshd_config, and UID for the user on all 3 hosts), why
will serverc not play nicely with the other 2 Is there something else I
should be checking?
Thanks,
John
--
John Kennedy
/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Found it...
In /var/log/secure I got
Authentication refused: bad ownership or modes for directory
/home/zema/.ssh
I had checked the file, not the directory...
Thanks all...
John
--
John Kennedy
up for password-less logins) then bash is not the best
choice. For this you would want to use either Python (with pyexpect module)
or the Expect scripting language (Expect is an extension of the TCL
scripting language.
John
--
John Kennedy
___
CentOS
of the respective 10.5/6 boxes can get their time from their attached
server.
Robert's info can be modified for this...
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
When will CentOS 6 be released???
(Just kidding...Just wanted to let you all know that RHEL6 has been
released...And yes, I know that most of you all know...)
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org
priority, if for no other reason
than it was out first, and thus probably already being worked on.
Can't wait for CentOS 6.0 though!
I thought 5.6 was only a Beta. RHEL 6 is fully released.
John
--
John Kennedy
___
CentOS mailing list
CentOS
/mailman/listinfo/centos
The default is to ask you for a reboot. Since a newly built system is
most vulnerable, many people do not want to reboot unless they are there
to finish the configuration
John
--
John Kennedy
___
CentOS mailing list
CentOS
@centos.org
http://lists.centos.org/mailman/listinfo/centos
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
that user's
number in each $USER
is there a way to do it in a smarter way ?
thanks,
--Rolad
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
--
John Kennedy
Not quite right...
for i in `ls -d /opt | cut -d/ -f2`
do
cp /opt/${i}/test/ /backup/${i}
done
Takes out the /opt/ from my first try...
John
On Thu, Oct 21, 2010 at 14:51, John Kennedy skeb...@gmail.com wrote:
for i in `ls -d /opt`
do
cp /opt/${i}/test/ /backup/${i}
done
On Thu, Oct 21
Damn...I will get this right...Need more sleep...
for i in `ls -d /opt/* | cut -d/ -f3`
do
cp /opt/${i}/test/ /backup/${i}
done
I KNOW this one will work...If not, I quit!!!
John
On Thu, Oct 21, 2010 at 14:55, John Kennedy skeb...@gmail.com wrote:
Not quite right...
for i in `ls -d /opt
know that one of the
drives (set in LSI as a failed Hot Spare) has failed but that is in slot 0
and should not be an issue here.
Any ideas on what is breaking?
Thanks,
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http
On Wed, Oct 13, 2010 at 17:16, Spiro Harvey sp...@knossos.net.nz wrote:
John Kennedy skeb...@gmail.com wrote:
This also does not tell me how useradd knows that on this system at
this time the highest UID assigned to a user is 20015.
From the source's mouth (this is from useradd.c
When I used Solaris years and years ago there was a command that would be
able to tell you the next available non-system UID number for the system
(can't remember what it is now, I have slept since then...). Is there an
equivalent in CentOS?
Thanks,
John
--
John Kennedy
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
-n | tail -2 | head -1 in this case) but I want to get the
next UID from the system not by parsing /etc/passwd
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
is
acting towards Open Source I will likely stay with LibreOffice and also
start learning PosgreSQL just so I have no Oracle products (in much the same
way I have no M$ products (in my personal life))...
John
--
John Kennedy
___
CentOS mailing list
CentOS
, perl for others, awk for still different things...
It is the beauty of Linux...
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
with the CLI version of it.
We need to go to stock versions to match our production RHEL 4.8 machines.
Thanks,
John
--
John Kennedy
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Hello all,
For (system) certification purposes, we have to upgrade our 4.4 machines to
4.7.
In the past I usually have just reinstalled machines to save the (perceived)
headaches of upgrading. That is not an option in this case.
Are there any pitfalls to watch out for when upgrading? Is it even
Only going to 4.7 because the required app is not certified for 4.8 (In the
RHEL world which is what we are basing this on). 4.7 is as high as they will
go. I know I will be doing this again in a month's time when they have 4.8
certified...
I just do as I am told...To an extent...
Thanks,
John
On
Try turning off root_squash in your /etc/exports file...
Default NFS server behavior is to prevent root on client machines from
having privileged access to exported files. Servers do this by mapping the
root user to some unprivileged user (usually the user nobody) on the
server side. This is known
On 03/24/2010 04:48 AM, Roland RoLaNd wrote:
hello,
i've just wrote the following :
more ./*.csv | grep -i XXX | echo Dear XXX, This email is for informative
purposes. Your total number of hours for the week of `date` is: `cut -d,
-f2` hours Kindly note that the average weekly working
On Wednesday 03 March 2010 16:20:21 Tim Nelson wrote:
Greetings All-
I'm about to embark on some remote management testing and need a way to
login to a remote system running CentOS 4.x/5.x via SSH, su to root (using
a password), then execute a command.
I currently login to the boxes
On Mon, Jun 8, 2009 at 11:13 PM, Fred Moyer f...@redhotpenguin.com wrote:
Greetings,
I am looking for resources on how to build my own Centos install CD
for a preselected package set that I want to install. I think Red Hat
may have had this functionality at some point but it has been a
On Tuesday 19 May 2009 16:11:35 Anne Wilson wrote:
I've been asked to think about setting up an installation for a recently-
widowed man. His needs are small - mail, Internet, on-line banking,
basically - but his wife dealt with all of it on her laptop and he feels
very insecure.
It seems
On Monday 04 May 2009 18:28:16 Jerry Geis wrote:
Hi all,
My kickstart section for packages is
%packages
@base-x
@dialup
@gnome-desktop
@base
@development-libs
@core
snip
I do not have package @mysql in the list - yet after install rpm -qa |
grep -i mysql reports mysql loaded.
how
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
(Sorry if this is a dupe. Sent originally from unregistered email address)
All,
I am trying to make a custom install CD for CentOS 5.2. I am building
the iso in a VirtualBox image and testing the iso in another VirtualBox
image so I don't keep
37 matches
Mail list logo