Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 1997 18:42:15 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        "Jonathan A. Zdziarski" <jonz@netrail.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Changing Default tty Group 
Message-ID:  <Pine.BSF.3.96.970812184023.252F-100000@localhost>
In-Reply-To: <Pine.BSF.3.95q.970811155113.24739B-100000@netrail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Aug 1997, Jonathan A. Zdziarski wrote:

> I'm attempting to find out where to change the default group that tty's
> default to when somebody slides into one - currently it's group 5
> (defaultly tty), and I'd like to make it writable by a different group
> (100:users) so that all of our users don't need to be in the tty group to
> write people.  Thanks in advance

You can change the group of /usr/bin/write to what you like.

Here are my perms for reference:

-r-xr-sr-x  1 bin  tty  12288 Feb  6  1997 /usr/bin/write*

It's setgid tty, so I don't understand why yours doen't work.  Perhaps
the group got changed or the gid bit lost.

It needs to be group tty to write the terminals since they are
owned by <user>:tty.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970812184023.252F-100000>