From: John Moylan (moylanj at domain rte.ie)
Date: Fri 05 Apr 2002 - 10:05:04 IST
I have a question for all you sed experts.
I need to insert 2 lines at the top of a /etc/pam.d/su
after the header. I need to do this from the command line - not a script, and I can not use any other files for the insertion.
I am trying to use sed with the i option, but it won't work the way I think it should. Is it possible to use it from the command line? if so how?
******************************************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTE may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
******************************************************************************
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:15:51 GMT