Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] postfixadmin vacation user uid/home in /etc/passwd
Date: Wed, 29 Dec 2010 17:16:24
Message-Id: 4D1B6C59.8090707@libertytrek.org
1 Greetings,
2
3 I'm updating an old system I inherited that has postfixadmin 2.1
4 installed, and I have a question about the vacation user entry in
5 /etc/passwd...
6
7 Can I just change it directly (by editing the file with a text editor)
8 without worrying about anything breaking?
9
10 Currently it is:
11
12 vacation:x:1003:65501::/home/vacation:/bin/bash
13
14 and I want to change it to be the same as the INSTALL.TXT recommends:
15
16 vacation:x:65501:65501::0:0:Virtual Vacation:/nonexistent:/sbin/nologin
17
18 So, can I just edit the file and be done with it?
19
20 Also, out of curiosity - can /etc/passwd file contain comments?
21
22 Thanks...

Replies

Subject Author
Re: [gentoo-user] postfixadmin vacation user uid/home in /etc/passwd kashani <kashani-list@××××××××.net>