Hello Mihai,

On Tue, 21 Mar 2017 00:07:16 +0200
Mihai Popescu <mih...@gmail.com> wrote:

> What version of OpenBSD are you running?

-current, updated to 03/19 snapshot:

[just22@poseidon]-[0]-[✓]-[~]> dmesg | head -2
OpenBSD 6.1-beta (GENERIC.MP) #38: Sun Mar 19 11:09:01 MDT 2017
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

> Did you modified /etc/fbtab?

Never touched:

[just22@poseidon]-[0]-[✓]-[~]> cat /etc/fbtab
#  $OpenBSD: fbtab.head,v 1.2 1999/05/05 06:56:34 deraadt Exp $
# login(1) reads this file to determine which devices should be chown'd to
# the new user. Format is:
# login-tty     perm    device:[device]:...
/dev/ttyC0      0600
/dev/console:/dev/wskbd:/dev/wskbd0:/dev/wsmouse:/dev/wsmouse0:/dev/ttyCcfg:/
dev/drm0
# samples
#/dev/ttyC0     0600    /dev/fd0

> What is 'll' or that command used to show permissions?

Just an alias to 'ls -lh', anyhow:

[just22@poseidon]-[0]-[✓]-[~]> ls -l /dev/drm0
crw-------  1 just22  wheel   87,   0 Mar 20 08:17 /dev/drm0

(this is the "normal" condition, of course)

> Is just22 a custom user, i.e. not created at install time?

It was created (a long time ago!) at install time.

> Looking at what I have, I think for a normal install it should show
> you this:
>
> [just22@poseidon]-[~]> ll /dev/drm0
> crw-------  1 just22  just22   87,   0 Mar 20 08:17 /dev/drm0

I noticed that the ownership of the device is "just22,just22" when I log in
from ttyC0, reset to "root,wheel" when I logout from there, set to
"just22,wheel" when logging in through xenodm. Does this make sense?

Thanks for your feedback

--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
LinkedIn: http://it.linkedin.com/in/delaurenzis

Reply via email to