On 12/29/2010 9:14 AM, Tanstaafl wrote:
Greetings,

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...

Can I just change it directly (by editing the file with a text editor)
without worrying about anything breaking?

Currently it is:

vacation:x:1003:65501::/home/vacation:/bin/bash

and I want to change it to be the same as the INSTALL.TXT recommends:

vacation:x:65501:65501::0:0:Virtual Vacation:/nonexistent:/sbin/nologin

So, can I just edit the file and be done with it?

Also, out of curiosity - can /etc/passwd file contain comments?

Thanks...


To your original question, if it works I not would touch it. You may want to look in /home/vacation for .forward or other files that might be helping the vacation functions work if you do decide to change /etc/passwd. IIRC and it's been years vacation was a bit flakey under 2.1 and it required a fair amount of undocumented tweaking to work correctly though it did get better in late 2.1.x. I would consider a plan to upgrade to 2.3.2, but it would be far simpler to build a new system and switch over to it than upgrade in place. And safer.

kashani

Reply via email to