Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2729  / 2 Years ago, sun, july 10, 2022, 3:55:33

I would like to mount netWare service on my linux.
Could someone give me example how such a line should looks like in fstab?


More From » mount

 Answers
1

From the directions here,



EXAMPLE:



1) Verify the installation of ncpfs:



linux~# rpm -q
ncpfs-2.6.6-7


2) Create a mountpoint for the server



linux~# mkdir /mnt/myserver


3) Create a group to assign the filerights to



linux~# groupadd nwaccess


4) Assign users to the defined group



linux~# usermod -G nwaccess veerh01


5) Create a password file



linux~# echo myserver/myuser.location.nds:mypassword >/etc/ncp-pass
linux~# chmod 600 /etc/ncp-pass


6) create a mount line in /etc/fstab - that is edit /etc/fstab with your favorite editor and add a line to it with the following definitions:



<server/user> <mountpoint> ncp uid=root,gid=<group>,mode=660,owner=root,A=<server>,passwdfile=/etc/ncp-pass     0 0


For the example described above it becomes:



myserver/myuser.location.nds /mnt/myserver ncp uid=root,group=nwaccess,mode=660,owner=root,A=myserver,passwdfile=/etc/ncp-pass 0 0

[#26517] Sunday, July 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anoalk

Total Points: 271
Total Questions: 90
Total Answers: 112

Location: Zambia
Member since Wed, Dec 16, 2020
3 Years ago
anoalk questions
Wed, Mar 15, 23, 04:06, 1 Year ago
Fri, Sep 24, 21, 02:59, 3 Years ago
Sat, Mar 5, 22, 02:33, 2 Years ago
Tue, Mar 22, 22, 07:19, 2 Years ago
;