On Tue, Oct 4, 2011 at 15:22, John Kennedy 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 go
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
e while 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
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 se
On Mon, Jun 8, 2009 at 11:13 PM, Fred Moyer 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 while
> since I have n
;
> my /etc/sudoers setup:
>
> # User privilege specification
> rootALL=(ALL) ALL
> user1 ALL=(root) /bin/su
>
>
> any ideal to fix it?
>
>
>
>
Use complete command like this:
user1 ALL=(root) /bin/su - user2
This will limit user1 to that specific comm
g 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
man/listinfo/centos
>
It's all about picking the right tool for the job. Python is good for some
things, 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
ll install it to see how it goes. The way Oracle 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
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 Ke
On Wed, Oct 13, 2010 at 16:09, Joseph L. Casale
wrote:
> > Is there an equivalent in CentOS?
>
> cat /etc/passwd |cut -d ":" -f 3 |sort -n
>
> ;)
>
I am more looking at what the system thinks is the next UID. Does the
useradd command use this when it assigns the ne
gets truncated)...
I have been able to use things like these 2 examples (cat /etc/passwd | cut
-d: -f3 | sort -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
On Wed, Oct 13, 2010 at 17:16, Spiro Harvey wrote:
> John Kennedy 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 in
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
p.mit.edu --recv-keys EB3467D6
>
> ___
> 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
his is just an example)
> so instead of copying the above line 832 times and appending that user's
> number in each "$USER"
>
> is there a way to do it in a smarter way ?
>
>
> thanks,
>
> --Rolad
>
>
> _____
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 wrote:
> for i in `ls -d /opt`
> do
> cp /opt/${i}/test/ /backup/${i}
> done
>
>
> On
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 wrote:
> Not quite right...
>
> for i in `ls -d /opt | cu
ling list
> CentOS@centos.org
> http://lists.centos.org/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
__
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
imultaneous
> > releases.
>
> I expect that 5.6 will get the first 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.
t; this presentation on comment resolution on the 802.15.4g ballot. boring).
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
To fit this in a bit with your set up. Have your 192
assword
serverc --> serverb 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,
Jo
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
> ___
> 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 director
o want to do, if you require interactive logins (i.e.
ssh keys not set 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
>
>
> Considering that this key is internal network only and doesn't have a
> passphrase set (it does not traverse internet boundaries) why on earth
> am I being prompted for a password whenever I ssh into this machine?
>
> thanks!
> --
> H
__
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
I would think 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 Kenn
list
> > Subject: Re: [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 s
My guess (and I REALLY hope I am right) is that the IP in question is
related to NetWare and eDirectory. Both products (started out 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
M is installed. I
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 u
-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 wasting
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
>
>
> I do not have package @mysql in the list - yet after install "rpm -qa |
> grep -i mysql" reports mysql load
mean. Or maybe You should think how to
> get back the lost confidence, because too many people now think that
> CentOS is no more enterprise distribution, not at all!
> ___
> CentOS mailing list
> CentOS@cento
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 box
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
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 kn
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 pos
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
;
> Well, /dev is *not* a good place for anything but device files.
> >
> > /dev is not a real directory for data files.
>
> Um, er, what do you mean about it not being a "real" directory?
>
> mark
>
&
39 matches
Mail list logo