Re: [SLUG] Debugging Linux ACL's

2014-09-01 Thread Norman Gaywood
processes run by '300' and not a username, etc. On 1 September 2014 15:53, David Lyon david.lyon.preissh...@gmail.com wrote: That returns nothing. On Mon, Sep 1, 2014 at 3:49 PM, Norman Gaywood ngayw...@une.edu.au wrote: How about: getent passwd 300 On 1 September 2014 15:44, David

Re: [SLUG] Debugging Linux ACL's

2014-09-01 Thread Norman Gaywood
for Unix' installed on your AD server. There may be a simple samba like way to do things that I don't know. -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia ngayw...@une.edu.auPhone: +61 (0)2 6773 2412 http://mcs.une.edu.au/~normFax

Re: [SLUG] Debugging Linux ACL's

2014-09-01 Thread Norman Gaywood
On 1 September 2014 16:44, Jake Anderson ya...@vapourforge.com wrote: BOFH answer, delete it and see who complains ;- Much simpler :-) Is there anything in /etc/samba/smb.conf that might help? -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia

Re: [SLUG] Debugging Linux ACL's

2014-09-01 Thread Norman Gaywood
On 1 September 2014 16:48, Norman Gaywood ngayw...@une.edu.au wrote: Is there anything in /etc/samba/smb.conf that might help? Also grep'ing through the logs in /var/log/samba/ might have a log of the connecting computer that uses the share. -- Norman Gaywood, Computer Systems Officer

Re: [SLUG] LaTeX niggle.

2014-09-01 Thread Norman Gaywood
/faq/mailinglists.html -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia ngayw...@une.edu.auPhone: +61 (0)2 6773 2412 http://mcs.une.edu.au/~normFax: +61 (0)2 6773 3312 Please avoid sending me Word or Power Point attachments

Re: [SLUG] Debugging Linux ACL's

2014-08-31 Thread Norman Gaywood
://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia ngayw...@une.edu.auPhone: +61 (0)2 6773 2412 http://mcs.une.edu.au/~normFax: +61 (0)2 6773 3312

Re: [SLUG] stop processing with 'if grep exit' ?

2014-03-19 Thread Norman Gaywood
this and it probably does what the OP wanted, however it does do a different thing to the original program. The above line will exit the program if test2 is false and test3 is true. The original program required test2 to be true to exit. Yeah, pedantic :-) -- Norman Gaywood, Computer Systems

Re: [SLUG] I can't be the only one.

2014-02-25 Thread Norman Gaywood
, William Bennett. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia ngayw...@une.edu.auPhone

Re: [SLUG] Restore laptop screen after use in Google Sydney seminar room?

2012-12-05 Thread Norman Gaywood
University http://cs.anu.edu.au/courses/**COMP7310/http://cs.anu.edu.au/courses/COMP7310/ -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/**mailinglists.htmlhttp://slug.org.au/faq/mailinglists.html -- Norman Gaywood

Re: [SLUG] coding

2010-11-18 Thread Norman Gaywood
: grep $VAR afile.txt | sed s/$VAR/ newdata/ anotherfile.txt Or, more simply: sed s/$VAR/ newdata/ afile.txt anotherfile.txt Variables, like $VAR, are not expanded inside single quotes. -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia ngayw

Re: [SLUG] exclude commented lines from output ?

2009-08-19 Thread Norman Gaywood
of the line # mean # -v means everything except what matches -- Norman Gaywood, Computer Systems Officer University of New England, Armidale, NSW 2351, Australia ngayw...@une.edu.auPhone: +61 (0)2 6773 3337 http://mcs.une.edu.au/~normFax: +61 (0)2 6773 3312 Please avoid sending

Re: [SLUG] perl parsing

2008-06-24 Thread Norman Gaywood
work. Here is another way you can do it: #!/usr/bin/perl use strict; use warnings; my $s = a1566b0c203d1477e0f205g; my %v = (); while ($s =~ /(\w)(\d+)/g){ $v{$1} = $2; } for my $k (sort keys %v){ printf key %s value %d\n, $k, $v{$k}; } -- Norman Gaywood, Computer Systems Officer

Re: [SLUG] tool for displaying time in different timezones?

2008-01-09 Thread Norman Gaywood
interested in: #!/bin/sh ZBASE=/usr/share/zoneinfo ZONES= US/Pacific US/Eastern Europe/London Europe/Zurich Australia/NSW for Z in ${ZONES} do ( export TZ=:${ZBASE}/${Z} printf %-15s %s\n ${Z} $(date) ) done -- Norman Gaywood, Systems Administrator University of New England

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Norman Gaywood
On Dec 18, 2007 4:47 PM, Jeff Waugh [EMAIL PROTECTED] wrote: quote who=Martin Visser perl -e 'while(){$a+=s/[,]//g};print $a\n' input.txt Do I win?? Oddly, perl very rarely wins these. ;-) This must come close: perl -00 -ne 'print tr/,//' input.txt -- Norman Gaywood, Systems

Re: [SLUG] Tuesday afternoon shell command optimisation party!

2007-12-18 Thread Norman Gaywood
On Wed, Dec 19, 2007 at 12:46:51PM +1100, Scott Ragen wrote: [EMAIL PROTECTED] wrote on 19/12/2007 11:34:30 AM: Norman Gaywood wrote: perl -00 -ne 'print tr/,//' input.txt I nominate the perl soln as the winner so far: runs like a bat of out hell and is the most easy to understand

[SLUG] How do I remove a directory pointed to by a symbolic link

2007-01-02 Thread Norman Gaywood
: cannot remove `.' or `..' Of course I could go 'rm -rf dir' but how do I find the name 'dir' from the symbolic link name 'link'. Cheers. -- Norman Gaywood, Systems Administrator University of New England, Armidale, NSW 2351, Australia Please avoid sending me Word or Power Point attachments. See

Re: [SLUG] How do I remove a directory pointed to by a symbolic link

2007-01-02 Thread Norman Gaywood
find the name 'dir' from the symbolic link name 'link'. -- Simon Males [EMAIL PROTECTED] -- Norman Gaywood, Systems Administrator University of New England, Armidale, NSW 2351, Australia Please avoid sending me Word or Power Point attachments. See http://www.gnu.org/philosophy/no-word

[SLUG] How do I remove a directory pointed to by a symbolic link

2007-01-02 Thread Norman Gaywood
: cannot remove `.' or `..' Of course I could go 'rm -rf dir' but how do I find the name 'dir' from the symbolic link name 'link'. Cheers. -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia

Re: [SLUG] How do I remove a directory pointed to by a symbolic link

2007-01-02 Thread Norman Gaywood
the problem of spaces and other specials in the names. Thanks. -- Norman Gaywood, Systems Administrator University of New England, Armidale, NSW 2351, Australia Please avoid sending me Word or Power Point attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- SLUG - Sydney

Re: [SLUG] How do I remove a directory pointed to by a symbolic link

2007-01-02 Thread Norman Gaywood
goal. --Amos -- Norman Gaywood, Systems Administrator University of New England, Armidale, NSW 2351, Australia Please avoid sending me Word or Power Point attachments. See http://www.gnu.org/philosophy/no-word-attachments.html -- SLUG - Sydney Linux User's Group Mailing List - http

Re: [SLUG] linux assignment

2006-08-15 Thread Norman Gaywood
of that question is what does the 1 m1 do. The answer to that can be found in man bash. -- Norman Gaywood, Systems Administrator University of New England, Armidale, NSW 2351, Australia Please avoid sending me Word or Power Point attachments. See http://www.gnu.org/philosophy/no-word-attachments.html

Re: openssl FC4 (was Re: FW: [SLUG] Fedora Core 5)

2006-03-21 Thread Norman Gaywood
is patched as openssl 0.9.7f Was patched in openssl-0.9.7h. openssl 0.9.7f is the base for FC4. Many upstream patches are applied to that. To see what: rpm --changelog -q openssl -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New

Re: [SLUG] perl - simplifying xml-simple

2005-03-25 Thread Norman Gaywood
-{addressline} ); sub process_address { my $addrref = shift; foreach $line ( @$addrref ) { print $line; } } -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED

Re: [SLUG] Fwd: [LINK] unix time = 11111111111 about mid-day today.

2005-03-17 Thread Norman Gaywood
-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] fyi - Unix time in seconds will hit all 1's just before mid-day today :) $ date; date +%s Fri Mar 18 10:20:56 EST 2005 101656 rachel I make it just before 1PM: perl -le 'print scalar localtime(11)' Fri Mar 18 12:58:31 2005 -- Norman

Re: [SLUG] Fwd: [LINK] unix time = 11111111111 about mid-day today.

2005-03-17 Thread Norman Gaywood
: watch -n 1 date +%s -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED]Phone: +61 (0)2 6773 2412 http://turing.une.edu.au/~normFax: +61 (0)2 6773 3312 Please

Re: [SLUG] December meeting - Tenpin Bowling

2004-11-02 Thread Norman Gaywood
at the end of the evening. The Fortran ball would be able to handle having an entire array of balls all send down the alley at once with a single swing. -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351

Re: [SLUG] Where is ulimit -v set?

2004-08-12 Thread Norman Gaywood
looking for. -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED]Phone: +61 (0)2 6773 2412 http://turing.une.edu.au/~normFax: +61 (0)2 6773 3312 Please avoid sending

[SLUG] Software patents and the Free Trade Agreement

2004-04-07 Thread Norman Gaywood
: http://www.petitiononline.com/auftaip/ -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED]Phone: +61 (0)2 6773 2412 http://turing.une.edu.au/~normFax: +61 (0

Re: [SLUG] scripting tests for students

2004-02-27 Thread Norman Gaywood
the output. Perhaps a bit easy but how about: Given two files, A and B, containing a list of words, find: 1. The list of words common to A and B 2. The list of words contained in A but not in B -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science

Re: [SLUG] gdm problem or X problem? XDMCP Session declined Maximum number of open sessions from your host reached

2004-02-03 Thread Norman Gaywood
] http://www.redhat.com/mailman/listinfo/fedora-devel-list -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED]Phone: +61 (0)2 6773 2412 http://turing.une.edu.au/~norm

Re: [SLUG] URGENT: Please help, Mail problem (FROMField=NOBODY....change?)

2003-08-28 Thread Norman Gaywood
mail and look for the section How do I send mail? Cheers. -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED]Phone: +61 (0)2 6773 2412 http://turing.une.edu.au

[SLUG] PCMCIA modem cards for linux

2003-08-14 Thread Norman Gaywood
means some secret windows business is required to make the DM-560 work. Or maybe the DM-560 requires a special initialization string? Any recommendations for a PCMCIA modem card? -- Norman Gaywood, Systems Administrator School of Mathematics, Statistics and Computer Science

Re: [SLUG] Silly shell challenge

2003-03-18 Thread Norman Gaywood
Nope. No kick in the pants. That's coming to me so far: turing 3:04pm ~ % awk '/bogomips/ { SUM+=$3 } END {print SUM}' /proc/cpuinfo 25421.4 -- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED] http

Re: [SLUG] Latex; Printing with dvips on RH8.0

2003-02-26 Thread Norman Gaywood
. -- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED] http://turing.une.edu.au/~norm Phone: +61 2 6773 2412 Fax: +61 2 6773 3312 -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http

Re: [SLUG] Using ANSI escape sequences with RedHat8

2003-01-23 Thread Norman Gaywood
if that makes a difference. My RH8.0 /etc/sysconfig/i18n looks like this: LANG=en_AU.UTF-8 LC_ALL=POSIX SUPPORTED=en_AU.UTF-8:en_AU:en:en_US.UTF-8:en_US:en SYSFONT=latarcyrheb-sun16 I found that got rid of some problems with escape sequences and sort sorting with case insensitivity. -- Norman

[SLUG] Redhat 8 - user menus in panels

2002-10-09 Thread Norman Gaywood
things from it. You can add a drawer which allows you to build up some panels of icons. But it's not a menu. -- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED] http://turing.une.edu.au/~norm Phone: +61 2

Re: [SLUG] Slowness over a local network

2002-06-02 Thread Norman Gaywood
? -- Howard. LANNet Computing Associates - Your Linux people Contact detail at http://www.lannetlinux.com -- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED] http://turing.une.edu.au/~norm Phone: +61 2 6773 2412

[SLUG] New linux pocketbook?

2002-02-20 Thread Norman Gaywood
to mention a new version. -- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED] http://turing.une.edu.au/~norm Phone: +61 2 6773 2412 Fax: +61 2 6773 3312 -- SLUG - Sydney Linux User Group Mailing List

Re: [SLUG] linux.conf.au early bird + 10% off tickets

2001-12-11 Thread Norman Gaywood
it does indicate the same problem; DNS lookup failure. Execpt that windows DNS can't resolve CNAME aliases last time I tried. No wonder Microsoft don't use it. -- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL

Re: [SLUG] Unpacking an RPM manually?

2001-10-31 Thread Norman Gaywood
-- Norman Gaywood -- School of Mathematical and Computer Sciences University of New England, Armidale, NSW 2351, Australia [EMAIL PROTECTED] http://turing.une.edu.au/~norm Phone: +61 2 6773 2412 Fax: +61 2 6773 3312 -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info