Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* 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

* Re: Unix on digital Alphastation
  2000-01-14  5:00 ` Pedro M. Matias
@ 2000-01-15  5:00   ` Nikolay Dzhilinskiy
  0 siblings, 0 replies; 5+ messages in thread
From: Nikolay Dzhilinskiy @ 2000-01-15  5:00 UTC (permalink / raw)


Sorry for my not perfect English.

IMHO, In additional, Need to set rights of mount dir to 777. (a+rwx)

Nikolay Dzhilinskiy.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unix on digital Alphastation
       [not found]   ` <574EBDF6064C83C9.6FA3B76335601E20.3B4E7B1421109A13@lp.airnews.net>
@ 2000-01-16  5:00     ` Stuart R. Fuller
  0 siblings, 0 replies; 5+ messages in thread
From: Stuart R. Fuller @ 2000-01-16  5:00 UTC (permalink / raw)


Brad Felmey (bfe369@airmail.net) wrote:
: On Sat, 15 Jan 2000 07:08:21 GMT, "Yong S. Yi" <ysyi@nexus.async.org>
: posted:
: 
: >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.
: 
: Does Tru64 not contain something similar to Linux' 'noexec' option in
: fstab?

According to the man page for mount, there is a "noexec" option, but not for
CDFS.  The option is observed for UFS and ADVFS, but no indication for CDFS.

        Stu



^ 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