>>>>> "David" == David E Nelson <[EMAIL PROTECTED]> writes:
David> Looking through 'editfiles', I'm not seeing an easy way to David> edit a single field in /etc/passwd - I need to change the David> primary group for one account. I can't just replace the David> entire line since the Gecos and home dir aren't consistent David> across systems. Any ideas? Won't something like the following work :- ReplaceAll "^<user>:x:<groupid>:" With "<user>:x:<new groupid>:" Sincerely, Adrian Phillips -- Who really wrote the works of William Shakespeare ? http://www.pbs.org/wgbh/pages/frontline/shakespeare/ _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine