* Unix on digital Alphastation
@ 2000-01-14 5:00 Sylviane Molinet
2000-01-14 5:00 ` Pedro M. Matias
2000-01-15 5:00 ` Yong S. Yi
0 siblings, 2 replies; 5+ messages in thread
From: Sylviane Molinet @ 2000-01-14 5:00 UTC (permalink / raw)
I have problems to mount cdrom for users, only root can do that
Any suggestions are welcome
Sylviane
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unix on digital Alphastation
2000-01-14 5:00 Unix on digital Alphastation Sylviane Molinet
@ 2000-01-14 5:00 ` Pedro M. Matias
2000-01-15 5:00 ` Nikolay Dzhilinskiy
2000-01-15 5:00 ` Yong S. Yi
1 sibling, 1 reply; 5+ messages in thread
From: Pedro M. Matias @ 2000-01-14 5:00 UTC (permalink / raw)
Sylviane Molinet wrote:
> I have problems to mount cdrom for users, only root can do that
> Any suggestions are welcome
> Sylviane
You can try changing device attributes on the device driver
chmod a+rw /dev/rzNc where N is your CD-ROM
You can check which one it is by looking at the startup log
uerf -c oper | more
or by looking at the files in /dev
file /dev/rz?c
CD-ROM will be RRD-XXXX device.
Hope this helps,
Pedro.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Unix on digital Alphastation
2000-01-14 5:00 Unix on digital Alphastation Sylviane Molinet
2000-01-14 5:00 ` Pedro M. Matias
@ 2000-01-15 5:00 ` Yong S. Yi
[not found] ` <574EBDF6064C83C9.6FA3B76335601E20.3B4E7B1421109A13@lp.airnews.net>
1 sibling, 1 reply; 5+ messages in thread
From: Yong S. Yi @ 2000-01-15 5:00 UTC (permalink / raw)
Sylviane Molinet wrote:
> I have problems to mount cdrom for users, only root can do that
> Any suggestions are welcome
... and that's how it *should* be. Why do you need users mounting
devices? For example, someone could easily make a CD with a binary with
a setuid bit, owned by root, and obtain root access to the system.
If you want local users with console access to be able to mount a
CD-ROM, though, you could write a small wrapper to check the UID of that
user (to see if it matches a local user) and do a setuid() to 0, mount
the CD-ROM (but with options such as 'nodev', 'nosuid', etc), and exit.
Same deal with umount, so they can take the CD-ROM out.
--
Yong S. Yi KeyID 1024/8B4FF151 http://async.org/~ysyi/
PGP Key Fingerprint = 3A 65 AE 82 07 2A EF 73 0B 84 67 5D 1D 96 9F 8D
<ysyi@alf.dec.com> Enriched, VCard, and HTML messages > /dev/null
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-01-16 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-14 5:00 Unix on digital Alphastation Sylviane Molinet
2000-01-14 5:00 ` Pedro M. Matias
2000-01-15 5:00 ` Nikolay Dzhilinskiy
2000-01-15 5:00 ` Yong S. Yi
[not found] ` <574EBDF6064C83C9.6FA3B76335601E20.3B4E7B1421109A13@lp.airnews.net>
2000-01-16 5:00 ` Stuart R. Fuller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox