[zfs-discuss] change uid/god below 100

2007-09-17 Thread Claus Guttesen
Hi.

Only indirectly related to zfs. I need to test diskusage/performance
on zfs shared via nfs. I have installed nevada b64a. Historically
uid/gid for user www has been 16/16 but when I try to add uid/gid www
via smc with the value 16 I'm not allowed to do so.

I'm coming from a FreeBSD backgroup. Here I alter uid using vipw and
edit /etc/group afterwards.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] change uid/god below 100

2007-09-17 Thread Claus Guttesen
 Only indirectly related to zfs. I need to test diskusage/performance
 on zfs shared via nfs. I have installed nevada b64a. Historically
 uid/gid for user www has been 16/16 but when I try to add uid/gid www
 via smc with the value 16 I'm not allowed to do so.

 I'm coming from a FreeBSD backgroup. Here I alter uid using vipw and
 edit /etc/group afterwards.

vipw was in /usr/ucb. I added the group using groupadd -g 16 www and
useradd -u 16 -g www plus homedir-related information. Works now.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] change uid/god below 100

2007-09-17 Thread Darren J Moffat
Claus Guttesen wrote:
 Only indirectly related to zfs. I need to test diskusage/performance
 on zfs shared via nfs. I have installed nevada b64a. Historically
 uid/gid for user www has been 16/16 but when I try to add uid/gid www
 via smc with the value 16 I'm not allowed to do so.

 I'm coming from a FreeBSD backgroup. Here I alter uid using vipw and
 edit /etc/group afterwards.
 
 vipw was in /usr/ucb. I added the group using groupadd -g 16 www and
 useradd -u 16 -g www plus homedir-related information. Works now.

Why not use the already assigned webservd/webserved 80/80 uid/gid pair ?

Note that ALL uid and gid values below 100 are explicitly reserved for 
use by the operating system itself and should not be used by end admins. 
  This is why smc failed to make the change.

-- 
Darren J Moffat
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] change uid/god below 100

2007-09-17 Thread Claus Guttesen
  Only indirectly related to zfs. I need to test diskusage/performance
  on zfs shared via nfs. I have installed nevada b64a. Historically
  uid/gid for user www has been 16/16 but when I try to add uid/gid www
  via smc with the value 16 I'm not allowed to do so.
 
  I'm coming from a FreeBSD backgroup. Here I alter uid using vipw and
  edit /etc/group afterwards.
 
  vipw was in /usr/ucb. I added the group using groupadd -g 16 www and
  useradd -u 16 -g www plus homedir-related information. Works now.

 Why not use the already assigned webservd/webserved 80/80 uid/gid pair ?

As mentioed there are historical reasons. User- and groupd-id 16 was
default in an older release of RedHat (5.2??), a few years before I
became sysadmin. Now we have some 80 TB of data (images) and changing
uid/gid has to be planned carefully  since I probably need to take the
partition off-line before I do a chown -R.

 Note that ALL uid and gid values below 100 are explicitly reserved for
 use by the operating system itself and should not be used by end admins.
   This is why smc failed to make the change.

FreeBSD defaults to 80 for user www as well.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss