Re: FTP file timestamps

2011-09-16 Thread Andrej
man netrc
/macdef


Cheers,
Andrej

On 17 September 2011 06:48, Frederick, Michael
michael_freder...@ibi.com wrote:
 There is a subcommand/setting in (SLES9/10/11) FTP called preserve, which 
 says whether or not the timestamp on the file when you transfer it gets 
 rewritten or not.  It is defaulted such that the timestamp on a 'get' remains 
 the same.

 I have been asked if there is a way (other than issuing 'preserve off') to 
 set this via some '.ftp_profile' or configuration file.  I know that I could 
 download the FTP source, find the setting in there, change it, and recompile 
 the program, but I would think there'd be an easier way.  Can anyone think of 
 how you would do this?

 Thanks,

 Mike Frederick

 --
 For LINUX-390 subscribe / signoff / archive access instructions,
 send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
 http://www.marist.edu/htbin/wlvindex?LINUX-390
 --
 For more information on Linux on System z, visit
 http://wiki.linuxvm.org/




-- 
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.georgedillon.com/web/html_email_is_evil.shtml

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Adding users to RedHat 5.4

2011-09-07 Thread Andrej
On 8 September 2011 14:35, David Boyes dbo...@sinenomine.net wrote:

 Second this option. No normal user should be given super powers except 
 through sudo.
 Otherwise you'll never know who dunnit, and when.
Unless they're allowed to do sudo -i (sudo su -); in that case the difference
between uid=0 and sudoers access is practically non-existent ... if you have
two or more people logged in via that mechanism at a time you have no idea
who done what.



Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Regina on SLES 11 SP 1

2011-08-31 Thread Andrej
On 1 September 2011 10:39, Philipp Kern pk...@debian.org wrote:
 That might be worth considering for Linux

 You shouldn't do that there's the slightest possibility that you end up in an
 untrusted path (where somebody can drop executable files) with cd and execute
 something there (think of ls).

 That's why . isn't in the PATH by default and normally shouldn't be.

It's actually not so problematic for non-privileged users, specially if
you tack the dot at the END of your PATH; system executables for e.g.,
'ls' will be found before the maliciously placed file in /tmp

export PATH=${PATH}:.


Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Gotcha's

2011-02-15 Thread Andrej
On 16 February 2011 10:32, Damian Gallagher damian.gallag...@oracle.com wrote:
 Well, there shouldn't be any gotcha's, if the installation material and the 
 articles on
 My Oracle Support are all up to date :-) The plan is, it should all work, if 
 we say it should.


 If it doesn't work, open a service request. If that doesn't work, ping me and 
 I'll have a
 wee chat with the relevant peeps to make sure that it does. If you KNOW of 
 gotchas,
 advertise them as you want, but my job will of course be to reduce their life 
 expectancy
 as far as possible :-)


Not a gotcha per se, and probably not s/390 specific, but the way Oracle makes
use of cache memory (from the OS perspective) can bite one.  As a sysadmin
you believe to have 2GB RAM to spare, and then wonder why the machine went
belly-up running out of RAM  swap.




Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: A Mix of LDAP and non-LDAP Users

2011-01-10 Thread Andrej
On 11 January 2011 12:50, David Stuart david.stu...@ventura.org wrote:
 Is it possible to have a mix of both LDAP-authenticated and 
 locally-authenticated users on the same Linux system?

That should be pretty much default; check
/etc/nsswitch.conf

Look for passwd, shadow  groups; if they say XXX files ldap you're already
there in regards to the mix.  The system will first check for users
locally, then
in LDAP.


 The LDAP Server that would be accessed is either a Windows Active Directory or
 a Novell Meta-Directory Server.  I'm not sure which is actually being used 
 today.

Not sure how SuSE handles LDAP, but there might be a /etc/ldap.conf file ?


 Thanks,
 Dave
Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: WAS ND and multicast

2011-01-05 Thread Andrej
On 5 January 2011 18:25, Marcy Cortes marcy.d.cor...@wellsfargo.com wrote:
 It appears that every server with a WAS ND node agent running on it uses
a multicast address of 232.133.104.73.  Apparently that is IBM's default.

 Is that required or something that can be turned off?  I kind of suspect maybe
 it can be turned off.  See: 
 http://www-01.ibm.com/support/docview.wss?uid=swg21237705
 , but I'm not sure.I think we tell them where each other live and a 
 discovery isn't
 needed... but maybe not?

For all it's worth; we have a couple of test environments in which that
traffic gets dropped by iptables (and reported on, which is how we
noticed it in the first place) w/o ill effects.

In others whoever stood WAS up disabled it (which means the logs
don't fill up w/ drop messages).

Cheers,
Andrej


-- 
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.georgedillon.com/web/html_email_is_evil.shtml

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Need a little help with a Linux script

2010-12-08 Thread Andrej
On 9 December 2010 12:31, Bauer, Bobby (NIH/CIT) [E]
baue...@mail.nih.gov wrote:
 Still learning this stuff. Wish I could write it in Rexx, now that I know.

Just one more change thrown in:
mpstat 1| awk '$3==all{print gensub(/^([^.]+).*/,\\1,
1,$4);fflush()}' | while read cpu;
do
  echo $cpu;
  if [ $cpu -ge 20 ]; then
echo Red Alert;
  fi;
done


Slightly less complex.



Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: Caging sftp users in SuSE 10.3?

2010-10-20 Thread Andrej
On 21 October 2010 04:07, Mrohs, Ray (JMD) ray.mr...@usdoj.gov wrote:
 Hi All,

 Is there a way to restrict scp and sftp users to their own directories in 
 10.3?
 The ChrootDirectory option in sshd_config is only available as of SLES 11.

Not SuSE specific... one of our requirements was to have the users
segregated from each other as well as from the actual host file-system.

We ended up compiling ssh 5.5 w/ sftp only for a certain user-group;
they get jailed into their home, and have no notion of each others existence.


Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
--
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Re: End of an era

2010-02-18 Thread Andrej
On 18 February 2010 13:49, Rodger Donaldson rodg...@diaspora.gen.nz wrote:

Mike, we salute thee!

 Funnily enough I first encountered REXX when it became the standard
 scripting language in AmigaOS around 1990, where it had the
 novel-to-me property of being able to script and control GUI functions
 in programs.

And it also made software installation/deployment in an OS/2 environment
a lot of fun back in the day, giving that bit of extra ooopmh and wit
to NVDM/2 ...

OS/2 interaction, DB/2 integration, beauty.

Those were the days ;}


Cheers,
Andrej


--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: OT: out-of-office notices

2009-12-16 Thread Andrej
2009/12/17 Shane Ginnane sginn...@isi.com.au:
 Well that didn't take long to be disregarded.
LOL .. that's what I thought. But he'll only be gone till the 21st ;}

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Completely off topic

2009-12-15 Thread Andrej
2009/12/16 John Summerfield deb...@herakles.homelinux.org:
 OK, I have to admit that I don't see what's amusing... care to illuminate?
 Q What hardware is TogaRouter running on?
 A
 http://www.amazon.com/TRENDnet-TEW-652BRP-Version-Wireless-Router/dp/B001DHLC3S

 Running Linux, of course.

 It's no Deep Blue, but it will do the job on most tournament players.
Heh ... that's state of the art, isn't it?

It would have been amusing if it were running z/VM  Linux on IFL ... ;)


Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: HELP

2009-09-29 Thread Andrej
2009/9/30 Marcellus, Ed ed.marcel...@lpsvcs.com:

 One day there was these three tomatoes walking down the street, a mama 
 tomato, a
 daddy tomato and a baby tomato. the baby tomato was walking too slow, so the 
 daddy
 tomato went back, stepped on him and said ketchup!
Pulp Fiction fan, huh :}

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: OT (was Re: RHEL 5.4 Beta is out in the wild)

2009-07-07 Thread Andrej
2009/7/7 Agblad Tore tore.agb...@volvo.com:
 Funny this thing with words. The word stool meaning chair in english, you know
 the swedish word for chair is 'stol' !
For all it's worth:  it's 'stol' in Slovene, too. :}

Cheers,
Andrej


--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: shutdown/reboot question

2009-06-18 Thread Andrej
2009/6/18 Sue Sivets ssiv...@fdrinnovation.com:

 What do I need to add or change to let sue (my normal userid) issue a
 reboot or a shutdown, or something like a 'shutdown -r now' command
 without being prompted for the root password? I'm going nuts.
Try
sudo /sbin/reboot
instead of
sudo reboot



 Thank you

 Sue
Cheers,
Andrej


--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


NFS performance

2009-06-10 Thread Andrej
Hi Guys,


Reading the thread To kick or to clone ... that is the question
gives the impression
that NFS performance on z should be blazing fast if the guests are
connected via either
hipersocket or vswitch.  My reality here is that I have a hard to to
exceed a throughput
of 1MB/s; I have no access to zVM.  What kind of speeds should I be
able to expect, what
do I need to tell our z guys to change in zVM to get more ooomph?  In
a worst case
scenario (guests on different IFLs, separate LPARs) I see as little as 120K/s,
which is  -what?- the speed of a 10MBit hub?


Cheers,
Andrej

--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: NFS performance

2009-06-10 Thread Andrej
2009/6/11 Scott Rohling scott.rohl...@gmail.com:
Hi Scott,

Thanks for the response.

 That would depend on a whole lot of things ..  that does sound slow but
 could depend on anything from an overtaxed NFS server to network traffic
 going outside the box and back in (it happens) to limited CPU being
 available

I'm a bit puzzled by the whole thing, as the behaviour seems to be
diametrically opposed to things I've seen on Linux/Intel.  We ran some
tests, comparing NFS to scp between the same two instances, and
scp beats NFS hands down, which I can't understand, really, by about
a factor of 15.  Looking into changing NFS mount options, not that
they differ much from what we'd do on Intel


Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: CrossPost: Mainframe Poll

2009-05-04 Thread Andrej
2009/5/5 Lionel B Dyck lionel.b.d...@kp.org:
 Information Weeks May 4 issue is all about virtualization. There is an
 article (only one) about the mainframe that at least acknowledges that the
 mainframe exists and can do more but they emphasize at a cost.

 They are asking those interested in the mainframe to take a poll at:

http://www.informationweek.com/poll/mainframes

And done =}

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Solaris v. Linux

2009-03-25 Thread Andrej
2009/3/26 Carey Tyler Schug sqrfolk...@comcast.net:
 IIRC, when Linux390 first came out, parts of it were object only, closed
 source.  Has this changed?  If not maybe complaints about closed source
 in Solaris are not so reasonable.

Makes you wonder why  how RedHat, Novell, Slackware and Debian co-operated
on this, doesn't it :}



Cheers,
Andrej




--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Root Password

2009-02-24 Thread Andrej
2009/2/24 John Summerfield deb...@herakles.homelinux.org:
 Windows is a little more difficult, I need a Linux boot disk and the
 right program, and if it's a domain controller there's another trick
 after that.
I can assure you that w/o a boot disk, and a second-stage password
entered after login for an encrypted file-system you won't be touching
any important data on any of my Linux machines.  Of course, for servers
that need to do their job after an unattended reboot that's not feasible.

But then that's the case for M$ machines as well...


 --

 Cheers
 John
Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Nawk for SLES10 ???

2009-02-10 Thread Andrej
2009/2/11 Smith, Ann (ISD, IT) ann.sm...@thehartford.com:
 We have customers in the process of porting an application from Solaris
 to SLES10 on zseries.
 They have a korn shell script which includes the following:
 export DOMAIN_NAME=`echo $1 | nawk '{print tolower($1)}'`

The command is tolower is supported by gawk - if they just modify
the script to say awk instead of nawk it will work just fine.


Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Security question and using scp

2009-01-16 Thread Andrej
2009/1/17 CHAPLIN, JAMES (CTR) james.chap...@associates.dhs.gov:
 We have a security requirement (which is common with Linux) to prevent
 ssh login for root (setting PermitRootLogin to no).  One problem we
 find, as system administrators, we like to use secure copy (remote file
 copy program, scp) files between systems. However this will not work for
 any root level files, since scp uses ssh to copy files over a network.
 Does anyone have a suggested solution or better way around this issue?
Still a kludge, but I commonly (if the files I want to grab are world-readable)
ssh to the target machine, su and then copy them with
scp -p u...@host:/path/to/file /path/to/file


Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slackware S/390 status

2008-11-18 Thread Andrej Ricnik-Bay
2008/11/19 Mark Post [EMAIL PROTECTED]:

 I would like to think so, but as I just told someone else, real life has been
 taking priority for quite a while now.  I haven't had any time to really work 
 on
 it, and I don't have all the 64-bit packages built yet.  This is probably a 
 direct
 result of moving from my former employer, where only technicians and a few
 first-level managers had any interest in mainframe Linux, to my current 
 employer
 where my popularity across the company is significantly higher.
I suppose working on SLES would chomp up considerable time. :)


 As other questioners to this list have been told, if there's a real need for
 it relatively soon, I'll make a far more concerted effort to finish the 
 64-bit version.
 So far no one has said there is.
Well ... I don't think my request is of any urgency, either.  I've just
started with a new employer where we're running RH under z/VM,
and I'm just personally curious (and potentially in a position to still
that curiosity) as to how my beloved Slack behaves on a Z in
comparison to the officially endorsed variety of linux


 Mark Post
Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Re: Slackware S/390 status

2008-11-18 Thread Andrej Ricnik-Bay
2008/11/19 Mark Post [EMAIL PROTECTED]:

 In that case, just download the -current version.  It's the equivalent of
 10.1, and while it's only 31-bit, it should run well on your hardware.  Just
 as you can run x86 Linux systems on x86-64 hardware, so you can run
 s390 Linux on s390x hardware.
True that.  But that would be a bit like comparing oranges and apples? :)
I mean 10.1 still has a 2.4 kernel as opposed to the 2.6 in RH


 Mark Post
Cheers,
Andrej

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


Slackware S/390 status

2008-11-13 Thread Andrej Ricnik-Bay
Hi,

From the news-page and the mail archive it's not quite
clear to me whether there's any ongoing work on that
port, whether there will be a 12.x at some stage, or a
s/390x ...

Will there? :)


Cheers,
Andrej


--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm

--
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390