Re: [CentOS] Dovecot GUI

2012-03-05 Thread Michael Gliwinski
s kind of old, but IIRC this also worked on KDE 3. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email i

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-06 Thread Michael Gliwinski
is not picking up the PID correctly, I'm not sure yet. I'm actually dealing with similar issue now so I'll post more when I find something. BTW, just noticed you're using su -c to run the program. I think this spawns a shell which may be the cause. Could you add &

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-05 Thread Michael Gliwinski
You may need to add 'expect fork' or 'expect daemon' to your pref.conf. Is the PID you get from `status pref' the same as you see in ps output? -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 331

Re: [CentOS] Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?

2011-10-05 Thread Michael Gliwinski
jobs to be services that need to be respawned if they exit. See also man init(5). Upstart provides a compatibility interface for SysV so /etc/init.d is still there and used but this is not what you want. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtowna

Re: [CentOS] Slow DNS lookups on CentOS6

2011-09-28 Thread Michael Gliwinski
servers normally do cache, but clients don't. Are you running > named locally on each machine and pointing resolv.conf to localhost? He's running nscd which caches DNS (group 'hosts' in /etc/nscd.conf). -- Michael Gliwin

Re: [CentOS] selinux prohibiting sssd usage

2011-08-11 Thread Michael Gliwinski
;t had a problem with it yet but only have < 200 posix users). -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The in

Re: [CentOS] Variable assigned to grep output - missing letter n!

2011-07-21 Thread Michael Gliwinski
. the \n has to be expanded to a newline, otherwise it causes word splitting on either '\' or 'n'. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 **

Re: [CentOS] Changing Host Name

2011-07-07 Thread Michael Gliwinski
add this host's address to DNS for abilitiessoft.com -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in

Re: [CentOS] shared cups printers disappeared

2011-07-04 Thread Michael Gliwinski
org/documentation.php/doc-1.4/sharing.html and man cupsctl(8) which has handy options like --share-printers and --remote- printers. Also, if you're still having problems see what's in the remote cache file: /var/cache/cups/remote.cache; if it seems stale remove it and restart cups. -- Mi

Re: [CentOS] Chicken and egg question: passwd and cronjob

2011-06-24 Thread Michael Gliwinski
it on disabled accounts (both local and Kerberos/LDAP) and it works. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The informat

Re: [CentOS] Chicken and egg question: passwd and cronjob

2011-06-23 Thread Michael Gliwinski
as well just avoid expiring it at all. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email is confide

Re: [CentOS] Feed a list of filenames to vim

2011-05-18 Thread Michael Gliwinski
ommand run is vim "/some/dir/a" "/some/dir/b" (quoted) which is why spaces, etc. are preserved. As for OP's original scenario, I left it out as you already answered it. Note that there's also a shortcut for cat (without launching a subp

Re: [CentOS] Feed a list of filenames to vim

2011-05-18 Thread Michael Gliwinski
ntf '"%p" ') (shell quotes expansions automatically, but you can still ensure output from find is appropriately quoted manually) -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 *

Re: [CentOS] allowing users to write to a web content area

2011-05-17 Thread Michael Gliwinski
individual users to add it to their .bashrc. -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The information in this email

Re: [CentOS] CentOS 5.5 Java Process Death

2011-02-18 Thread Michael Gliwinski
the > SSH window that started it closes? Try adding 'nohup' before 'java'. Closing SSH session closes the shell which sends HUP to its children. But, it is not your main problem is it? I mean the app wasn't always started manually from an interactive shell? --

Re: [CentOS] How to disable screen locking system-wide?

2011-01-21 Thread Michael Gliwinski
t will kill any running jobs. I'm not sure about GNOME or if that's available in version currently shipped in CentOS but in KDE the screensaver allows you to switch user, i.e. leave the currently logged on user's session running and start a new one for another user. That seems

Re: [CentOS] Terminal with variable sized font

2011-01-10 Thread Michael Gliwinski
of SSH but not sure if it's exposed (via options that is). -- Michael Gliwinski Henderson Group Information Services 9-11 Hightown Avenue, Newtownabby, BT36 4RT Phone: 028 9034 3319 ** The informati

Re: [CentOS] noob question about mock

2011-01-05 Thread Michael Gliwinski
On Wednesday 05 Jan 2011 00:18:36 Nico Kadel-Garcia wrote: > On Tue, Jan 4, 2011 at 4:00 PM, wrote: > > Michael Gliwinski writes: > >> Actually, mock can build an SRPM from spec file and dir with sources: > >> > >> $ mock --buildsrpm --spec=/pa

Re: [CentOS] noob question about mock

2011-01-04 Thread Michael Gliwinski
y in EPEL, not sure if it was available in older versions. Sure it may require some scripting around it to automate it but it has the advantage of verifying build depends, etc. so it's worth it IMO. -- Michael Gliwinski Henderson Group Informat

Re: [CentOS] good shell script examples?

2010-11-26 Thread Michael Gliwinski
tter of: @hosts('192.168.1.1', '192.168.1.2', '192.168.1.3', '192.168.1.4') def some_task(): put('rootidfile', '~/.ssh/authorized_keys') and run it as: $ fab -U root some_task [1] http://fabfile.org/ -- Michael Gliwinsk