On Mon, 2002-03-25 at 08:24, David Fitch wrote:
> On Mon, 2002-03-25 at 07:22, Peter Hardy wrote:
> > This means you can mount Windows shares at boot time without storing
> > passwords in /etc/fstab, which is readable by anyone.
> 
> or you can make /etc/fstab rw by root only, which is a lot simpler but
> probably not as secure.

That's actually not very secure at all, as mount options are visible
just using the mount command.

$ grep hda5 /etc/fstab 
/dev/hda5       /               ext3    defaults,errors=remount-ro      0       1

$ mount | grep hda5
/dev/hda5 on / type ext3 (rw,errors=remount-ro)

I'm not sure, but I think doing that would also cause problems with the
user option, which lets regular users mount/unmount partitions.

-- 
Pete
[EMAIL PROTECTED]

        I assure you the thought never even crossed my mind.

        Indeed?  Then if I were you I'd sue my face for slander.
                -- Rincewind and the Patrician
                   (Terry Pratchett, The Colour of Magic)

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to