Hi,

I wanted to use 'cu -l /dev/cuaa1' so I found out I have to be in 'dialer'
group:
buki@hal9000:/home/buki>ll /dev/cuaa1
crw-rw----  1 uucp  dialer   28, 129 Aug 29 16:29 /dev/cuaa1

So I su-ed to root and did 'pw user mod buki -G wheel dialer' checked with
'id buki':
root@hal9000#id buki
uid=1001(buki) gid=1001(users) groups=1001(users), 0(wheel), 68(dialer)

it seems OK, so logged in as buki again, but:

buki@hal9000:/home/buki>cu -l /dev/cuaa1
cu: /dev/cuaa1: Permission denied
buki@hal9000:/home/buki>whoami
buki
buki@hal9000:/home/buki>id
uid=1001(buki) gid=1001(users) groups=1001(users), 0(wheel)
buki@hal9000:/home/buki>groups buki
users wheel dialer

The difference between output from 'id' and 'groups' makes me feel dizzy :(
but when I (logged as buki) specify username (ie. 'id buki') the answer is
right

I am running on:
FreeBSD hal9000.xxx.xx 4.4-RC FreeBSD 4.4-RC #0: Tue Aug 28 18:39:30 CEST
2001     [EMAIL PROTECTED]:/usr/src/sys/compile/HAL9000  i386

and the group file looks:
buki@hal9000:/home/buki>cat /etc/group 
# $FreeBSD: src/etc/group,v 1.19 1999/08/27 23:23:41 peter Exp $
#
wheel:*:0:root,buki
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
staff:*:20:root
guest:*:31:root
bind:*:53:
uucp:*:66:
xten:*:67:xten
dialer:*:68:buki
network:*:69:
mysql:*:70:mysql
www:*:71:www
nogroup:*:65533:
nobody:*:65534:
users:*:1001:

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to