Re: adduser(8) in 5.0-R

2003-01-21 Thread Mike Makonnen
Committed.
Thanks!

-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
[EMAIL PROTECTED] | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9



msg50640/pgp0.pgp
Description: PGP signature


RE: adduser(8) in 5.0-R

2003-01-21 Thread Robin Breathe
Wonderful, thank you too :)

Another totally unrelated thing I'm a little unsure on is the default group
ownerships of the /dev/ttyv? Devices under devfs.  Some are owned by group
tty, others by wheel.  Is this correct/intended?  It seems rather arbitrary.

# ls -l ttyv?
crw---  1 root  tty 12,   0 Jan 20 07:54 ttyv0
crw---  1 root  tty 12,   1 Jan 19 20:02 ttyv1
crw---  1 root  tty 12,   2 Jan 18 21:24 ttyv2
crw---  1 root  tty 12,   3 Jan 18 21:24 ttyv3
crw---  1 root  wheel   12,   4 Jan 18 21:24 ttyv4
crw---  1 root  wheel   12,   5 Jan 18 21:24 ttyv5
crw---  1 root  wheel   12,   6 Jan 18 21:24 ttyv6
crw---  1 root  tty 12,   7 Jan 21 12:24 ttyv7
crw---  1 root  wheel   12,   8 Jan 18 21:24 ttyv8
crw---  1 root  wheel   12,   9 Jan 18 21:24 ttyv9
crw---  1 root  wheel   12,  10 Jan 18 21:24 ttyva
crw---  1 root  wheel   12,  11 Jan 18 21:24 ttyvb
crw---  1 root  wheel   12,  12 Jan 18 21:24 ttyvc
crw---  1 root  wheel   12,  13 Jan 18 21:24 ttyvd
crw---  1 root  wheel   12,  14 Jan 18 21:24 ttyve
crw---  1 root  wheel   12,  15 Jan 18 21:24 ttyvf

Yours,

Robin

> -Original Message-
> From: Mike Makonnen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 12:12 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: adduser(8) in 5.0-R
>
>
> Committed.
> Thanks!
>
> --
> Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
> [EMAIL PROTECTED] | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA
> DAE1 E2AF DBCC 68B9
>



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



Re: adduser(8) in 5.0-R

2003-01-21 Thread Odhiambo Washington
* Robin Breathe <[EMAIL PROTECTED]> [20030121 15:23]: wrote:
> Wonderful, thank you too :)
> 
> Another totally unrelated thing I'm a little unsure on is the default group
> ownerships of the /dev/ttyv? Devices under devfs.  Some are owned by group
> tty, others by wheel.  Is this correct/intended?  It seems rather arbitrary.
> 
> # ls -l ttyv?
> crw---  1 root  tty 12,   0 Jan 20 07:54 ttyv0
> crw---  1 root  tty 12,   1 Jan 19 20:02 ttyv1
> crw---  1 root  tty 12,   2 Jan 18 21:24 ttyv2
> crw---  1 root  tty 12,   3 Jan 18 21:24 ttyv3
> crw---  1 root  wheel   12,   4 Jan 18 21:24 ttyv4
> crw---  1 root  wheel   12,   5 Jan 18 21:24 ttyv5
> crw---  1 root  wheel   12,   6 Jan 18 21:24 ttyv6
> crw---  1 root  tty 12,   7 Jan 21 12:24 ttyv7
> crw---  1 root  wheel   12,   8 Jan 18 21:24 ttyv8
> crw---  1 root  wheel   12,   9 Jan 18 21:24 ttyv9
> crw---  1 root  wheel   12,  10 Jan 18 21:24 ttyva
> crw---  1 root  wheel   12,  11 Jan 18 21:24 ttyvb
> crw---  1 root  wheel   12,  12 Jan 18 21:24 ttyvc
> crw---  1 root  wheel   12,  13 Jan 18 21:24 ttyvd
> crw---  1 root  wheel   12,  14 Jan 18 21:24 ttyve
> crw---  1 root  wheel   12,  15 Jan 18 21:24 ttyvf
> 
> Yours,
> 
Hey Robin


When you are logged in as root, the virtual terminal that you are
using has those permissions - root:tty
When you login as robin, it will have robin:tty. The unused virtual
terminals will remain root:wheel

It's about who is assigned that device. Technically, I am not able to
explain this but that is what I've observed.


-Wash

-- 
Odhiambo Washington   <[EMAIL PROTECTED]>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD."   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


God is not dead!  He's alive and autographing bibles at Cody's

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



RE: adduser(8) in 5.0-R

2003-01-21 Thread Robin Breathe
> When you are logged in as root, the virtual terminal that you
> are using has those permissions - root:tty When you login as
> robin, it will have robin:tty. The unused virtual terminals
> will remain root:wheel
>
> It's about who is assigned that device. Technically, I am not
> able to explain this but that is what I've observed.

Clever, that gets my full approval =)

Thanks for your observations.

Robin



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



Re: adduser(8) in 5.0-R

2003-01-21 Thread Mike Barcroft
Mike Makonnen <[EMAIL PROTECTED]> writes:
> Committed.
> Thanks!

Should this be an errata item?

Best regards,
Mike Barcroft

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



RE: adduser(8) in 5.0-R

2003-01-21 Thread Robin Breathe
Hmmm, it might be worth mentioning, since md5 is the default passwd hash,
it's not infeasible that someone might choose "`rm -rf /`", or similar, as
their passwd... Which would have somewhat unpleasant results since adduser
runs as root.

Shame this wasn't picked up before, it's such a little thing seems a shame
to blemish errata with it :)

Robin

> -Original Message-
> From: Mike Barcroft [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 1:55 PM
> To: Mike Makonnen
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: adduser(8) in 5.0-R
>
>
> Mike Makonnen <[EMAIL PROTECTED]> writes:
> > Committed.
> > Thanks!
>
> Should this be an errata item?
>
> Best regards,
> Mike Barcroft
>



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



RE: adduser(8) in 5.0-R

2003-01-21 Thread Robin Breathe
Heh, in the example I chose md5 isn't even required (I was thinking of it in
terms of somebody meaningfully choosing a >8 char passwd).

Robin



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



Re: adduser(8) in 5.0-R

2003-01-21 Thread Mike Makonnen
I have cc'ed bmah, because I think it should be in the errata.

On Tue, 21 Jan 2003 14:36:11 -
"Robin Breathe" <[EMAIL PROTECTED]> wrote:

> Hmmm, it might be worth mentioning, since md5 is the default passwd hash,
> it's not infeasible that someone might choose "`rm -rf /`", or similar, as
> their passwd... Which would have somewhat unpleasant results since adduser
> runs as root.

Well, you would have to be root to run it in the first place, but I deserve the
pointy hat none the less.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
[EMAIL PROTECTED] | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9



msg50656/pgp0.pgp
Description: PGP signature


Re: adduser(8) in 5.0-R

2003-01-22 Thread Bruce A. Mah
If memory serves me right, Mike Makonnen wrote:

> I have cc'ed bmah, because I think it should be in the errata.

Done.  Thanks!

Bruce.





msg50715/pgp0.pgp
Description: PGP signature