-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14 Nov 2002 21:33:47 -0500, Sam Steingold wrote:

> I noticed that after a boot, my /dev/dsp* and /dev/audio* are owned by
> sds.root and have permissions 600 (crw-------).
> this is
> 
> 1. strange: why are these files owned by _me_ and not root?

The user that first logs in at the physical console gets the
file/device permissions assigned by PAM.

> 2. inconvenient: mpg123 &c are not suid root,
>    so my wife cannot use audio.

This is when you have logged in first and block the audio device.

> For now, I added 
>         chown root.root /dev/dsp* /dev/audio*
>         chmod a+rw /dev/dsp* /dev/audio*
> to /etc/rc.local, but I wonder whether this is TRT.
> 
> BTW, how do I prevent console screen clearing after boot right before
> the login prompt appears?

When you add option --noclear to the mingetty lines in /etc/inittab.
E.g.

  1:2345:respawn:/sbin/mingetty --noclear tty1

> Or better yet, where are the boot messages (not the kernel ones,
> accessible with dmesg(1), but the init(1) ones)?

/var/log/boot.log

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE91PFH0iMVcrivHFQRAipIAJ4lgDD8IxKe5Qao+ZHSZIu2ZuwiMQCfYMWF
aVGGUPVMkodo0eWN8KTTeFo=
=K25U
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to