Re: script or line command to change a line
From: Leyden, Joseph (LeydenJ_at_METRO.NET)
Date: 05/26/05
- Previous message: Vincent D'Antonio: "errpt alerts"
- Next in thread: Holger.VanKoll_at_SWISSCOM.COM: "Re: script or line command to change a line"
- Maybe reply: Holger.VanKoll_at_SWISSCOM.COM: "Re: script or line command to change a line"
- Reply: N. Leenders: "Re: script or line command to change a line"
- Maybe reply: Leyden, Joseph: "Re: script or line command to change a line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 26 May 2005 11:19:35 -0700 To: aix-l@Princeton.EDU
I'm not familiar with vi, ex, awk .... but
basically I want a line change in a file.
The old line is:
maxage = 8
to
maxage = 0
only from one user (say user oracle),
in the /etc/security/users
Looks like I have to find 'oracle' first and change
the first occurence of 'maxage = 8'. (but I dont
know how to do it)
Can someone show me how this is done for free?
Thanks,
Joe
- Previous message: Vincent D'Antonio: "errpt alerts"
- Next in thread: Holger.VanKoll_at_SWISSCOM.COM: "Re: script or line command to change a line"
- Maybe reply: Holger.VanKoll_at_SWISSCOM.COM: "Re: script or line command to change a line"
- Reply: N. Leenders: "Re: script or line command to change a line"
- Maybe reply: Leyden, Joseph: "Re: script or line command to change a line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]