install vexim on FreeBSD 9.3

50 views
Skip to first unread message

Юрий Зыга

unread,
Feb 4, 2016, 11:47:37 AM2/4/16
to vexim
i'm read README.md and will create user

manual command for freebsd contain a error
pw useradd vexim -u 1,100 -g "" -d /var/vmail -m -s /nonexistant

manual pw adduser
 -u    uid       Specify the user/account numeric id.
contain only uid. not two options.

I understand the meaning was meant UID and GID. but why, if for example debian does not contain specific UID and GID?

propose edit REDME.md and change its string

pw useradd vexim -d /var/vmail -m -s /nonexistant

Rimas Kudelis

unread,
Feb 10, 2016, 2:22:50 AM2/10/16
to ve...@googlegroups.com
Привет, Юрий,

sorry for late reply.

2016-02-04 18:47, Юрий Зыга wrote:
> i'm read README.md and will create user
>
> manual command for freebsd contain a error
> pw useradd vexim -u 1,100 -g "" -d /var/vmail -m -s /nonexistant
>
> manual pw adduser
> -u uid Specify the user/account numeric id.
> contain only uid. not two options.
>
> I understand the meaning was meant UID and GID. but why, if for
> example debian does not contain specific UID and GID?

No, the meaning was to supply min and max values for UID. I suppose this
feature must have been dropped or changed since the manual was first
written. Or it could have been a simple misunderstanding (pw useradd
allows using -uMINUID,MAXUID with -D to change the defaults).

Anyway, the UID we use should really be higher than that. My current
proposal in https://github.com/vexim/vexim2/issues/80 is to suggest
using the UID between 500 and 1000. Ideally, we wouldn't even put these
numbers in the manual, just like you're suggesting, which is why the
Debian command doesn't have them (the --system switch is used instead,
but even then we might want to limit these to start from 500).

> propose edit REDME.md and change its string
>
> pw useradd vexim -d /var/vmail -m -s /nonexistant

We'll see about that. I kind of want our UID to be a bit special (that
is, not to appear among people users), but I know too little about BSD
and I'm not sure if it's possible to use min,max values in the way we want.

Rimas


Reply all
Reply to author
Forward
0 new messages