Mailinglist Archive: opensuse (2859 mails)
| < Previous | Next > |
Re: [opensuse] Automating the NFS mount
- From: Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx>
- Date: Wed, 09 May 2007 12:39:07 +0100
- Message-id: <4641B2DB.3010802@xxxxxxxxxxxxxxxxx>
Mohamed Haidar wrote:
> Hello all, I finally got the nfs service to work. In retrospect i see
> that it was kind of trivial but for a newbe nothing really is. My
> question now is how to make the hole process automated. I have tried to
> add the line
> ip:folder /mnt/folder nfs rw,no_root_squash 0 0
> to my fstab but with no result. I still have to manually mount the
> folder at startup.
> Thx for your help everybody.
Mohamed
I agree with everybody else who has suggested that you reconfigure your
network to use local addresses and to not expose NFS to the Internet.
I see that you have used the option 'no_root_squash':
(1) Please note that this is an option for /etc/exports , *not* /etc/fstab
(2) Using this option is normally a bad idea (that's why it's not the
default). It's usually better to change your configuration and/or usage
so that you avoid having to use that option. Ask the list for advice if
you have a specific reason for using it.
(3) Using this option on a mount exposed to the Internet is a REALLY
REALLY BAD IDEA. Don't do it!
Please remember that there are a lot of machines out there that are just
scanning the net looking for weak systems. If you're a newbie, PLEASE
take people's advice and be safe. Reconfigure your system.
Cheers,
Dave Howorth
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Hello all, I finally got the nfs service to work. In retrospect i see
> that it was kind of trivial but for a newbe nothing really is. My
> question now is how to make the hole process automated. I have tried to
> add the line
> ip:folder /mnt/folder nfs rw,no_root_squash 0 0
> to my fstab but with no result. I still have to manually mount the
> folder at startup.
> Thx for your help everybody.
Mohamed
I agree with everybody else who has suggested that you reconfigure your
network to use local addresses and to not expose NFS to the Internet.
I see that you have used the option 'no_root_squash':
(1) Please note that this is an option for /etc/exports , *not* /etc/fstab
(2) Using this option is normally a bad idea (that's why it's not the
default). It's usually better to change your configuration and/or usage
so that you avoid having to use that option. Ask the list for advice if
you have a specific reason for using it.
(3) Using this option on a mount exposed to the Internet is a REALLY
REALLY BAD IDEA. Don't do it!
Please remember that there are a lot of machines out there that are just
scanning the net looking for weak systems. If you're a newbie, PLEASE
take people's advice and be safe. Reconfigure your system.
Cheers,
Dave Howorth
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |