On 12/29/2010 1:36 PM, Tanstaafl wrote:
On 2010-12-29 3:50 PM, kashani wrote:
On 12/29/2010 9:14 AM, Tanstaafl wrote:
I'm updating an old system I inherited that has postfixadmin 2.1
installed, and I have a question about the vacation user entry in
/etc/passwd...
<snip>
I would consider a plan to upgrade to 2.3.2,
I guess I could have been clearer - I said I was updating the system,
and updating pfadmin to 2.3.2 is what I'm doing now... and I want to
configure everything *correctly*. Right now, vacation has a shell, and
it shouldn't - I just want to know if simply editing /etc/passwd is the
correct way to fix it...
but it would be far simpler to build a new system and switch over to
it than upgrade in place. And safer.
I already have the new pfadmin up and running, and I'll be switching
over this weekend...
Any idea about my other question:
Also, out of curiosity - can /etc/passwd file contain comments?
Thanks...
Sure you can edit it directly though you'll break anyone currently using
vacation as soon as you do. Make sure you fix /etc/shadow and /etc/group
too. Or use usermod which would be the proper way to make the change.
/etc/passwd shouldn't have stand alone comments which might cause weird
problems with pwconv, grpconv, etc. Use the comment field of the user.
kashani