Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Dec 2005 22:22:13 +0100
From:      Kristian Vaaf <vaaf@broadpark.no>
To:        questions@freebsd.org
Subject:   Re: The hardships of ownerships
Message-ID:  <17f28a361ee3.43b46195@broadpark.no>

next in thread | raw e-mail | index | archive | help

This is how I want my users layout to look like.

Ofcourse I'm afraid to actually commit these changes, since I'm afraid my entire system will break.

But there has to be a way to deal with this!

# cat /etc/group (imaginary)

nobody:*:55555:
wheel:*:0:root

daemon:*:1:
operator:*:2:root
kmem:*:3:
bin:*:4:
tty:*:5:
news:*:8:
man:*:9:

sshd:*:101:
www:*:102:
ftp:*:103:
mysql:*:104:
proxy:*:105:
smmsp:*:106:
mailnull:*:107:
postfix:*:108:
cyrus:*:109:
spamd:*:110:
vscan:*:111:
clamav:*:112:
tinydns:*:113:
axfrdns:*:114:
dnscache:*:115:
dnslog:*:116:

nomad:*:1002:
polvott:*:1003:
nughaud:*:1004:
asphyx:*:1005:
speak:*:1007:
zarul:*:1008:
sky:*:1009:
spamd:*:58:
indranil:*:1010:
stila:*:1011:
mats:*:1012:
edgar:*:1014:
holy5:*:1015:

# cat /etc/master.passwd (imaginary)

nobody:*:55555:55555::0:0:Unprivileged:/nonexistent:/usr/sbin/nologin
root:$1$xsL49xbt$of5hvUCiVT/b/D3B70bZv1:0:0::0:0:Core:/root:/usr/local/bin/zsh

(starts from 1)

daemon:*:1:1::0:0:System processes:/root:/usr/sbin/nologin
operator:*:2:2::0:0:Operator:/:/usr/sbin/nologin
kmem:*:3:65533::0:0:KMem:/:/usr/sbin/nologin
bin:*:4:4::0:0:Binaries:/:/usr/sbin/nologin
tty:*:5:65533::0:0:Titty:/:/usr/sbin/nologin
news:*:8:8::0:0:News:/:/usr/sbin/nologin
man:*:9:9::0:0:Manuals:/usr/share/man:/usr/sbin/nologin

(starts from 101)

sshd:*:101:101::0:0:Secure Shell:/var/empty:/usr/sbin/nologin
www:*:102:102::0:0:World Wide Web:/usr/local/www:/usr/sbin/nologin
ftp:*:103:103::0:0:PureFTP:/home/websites:/usr/sbin/nologin
mysql:*:104:104::0:0:MySQL:/var/db/mysql:/sbin/nologin
proxy:*:105:105::0:0:Packet Filter:/nonexistent:/usr/sbin/nologin
smmsp:*:106:106::0:0:Sendmail Submission:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull:*:107:107::0:0:Sendmail Default:/var/spool/mqueue:/usr/sbin/nologin
postfix:*:108:108::0:0:Postfix:/var/spool/postfix:/usr/sbin/nologin
cyrus:*:109:109::1111874400:0:Cyrus:/nonexistent:/usr/sbin/nologin
spamd:*:110:110::0:0:SpamAssassin:/var/spool/spamd:/sbin/nologin
vscan:*:111:111::0:0:Scanner:/var/amavis:/bin/sh
clamav:*:112:112::0:0:ClamAV:/nonexistent:/usr/sbin/nologin
tinydns:*:113:113::0:0:Tiny:/nonexistent:/usr/sbin/nologin
axfrdns:*:114:114::0:0:A-Transfer:/nonexistent:/usr/sbin/nologin
dnscache:*:115:115::0:0:Cache:/nonexistent:/usr/sbin/nologin
dnslog:*:116:116::0:0:Logging:/nonexistent:/usr/sbin/nologin

(starts from 1001)

johann:*:1001:0::0:0:Johann:/home/johann:/usr/local/bin/zsh
nomad:*:1002:1002::0:0:Hednod:/home/nomad:/usr/local/bin/zsh
polvott:*:1003:1003::0:0:Thomas:/home/polvott:/usr/local/bin/zsh
nughaud:*:1004:1004::0:0:King:/home/nughaud:/usr/local/bin/zsh
asphyx:*:1005:1005::0:0:Matthew:/home/asphyx:/usr/local/bin/zsh
speak:*:1007:1007::0:0:Poetry:/home/speak:/usr/local/bin/zsh
zarul:*:1008:1008::0:0:Zarul:/home/zarul:/usr/local/bin/zsh
sky:*:1009:1009::0:0:High:/home/sky:/usr/local/bin/zsh
indranil:*:1010:1010::0:0:Troidus:/home/indranil:/usr/local/bin/zsh
stila:*:1011:1011::0:0:Standup:/home/stila:/usr/local/bin/zsh
mats:*:1012:1012::0:0:Kohler:/home/mats:/usr/local/bin/zsh
cole:*:1013:1013::0:0:Cole:/home/cole:/usr/local/bin/zsh
edgar:*:1014:1014::0:0:Otero:/home/edgar:/usr/local/bin/zsh
holy5:*:1015:1015::0:0:Khanira:/home/holy5:/usr/local/bin/zsh

I guess I'm a sucker for correctness ...

All the best,
Kristian Vaaf





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17f28a361ee3.43b46195>