- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS Server need to deny anonymous accounts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 01:19 PM
тАО07-17-2000 01:19 PM
NFS Server need to deny anonymous accounts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 01:34 PM
тАО07-17-2000 01:34 PM
Re: NFS Server need to deny anonymous accounts
You cannot refuse nfs connections based on usernames, but you can refuse connections based on hostname (that is, you can accept connections from a list of hosts).
The access to the files on you NFS exports is controlled by the UNIX permissions (owner, group and mode).
It is important not to treat root users as root on an nfs mounted file system. This is the case if there is no root=hostname:hostname option for an exported fs in /etc/exportfs
Hope this helps,
Rik.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 02:01 PM
тАО07-17-2000 02:01 PM
Re: NFS Server need to deny anonymous accounts
If I could get fixed (static) I.P. addresses how would I set it up on the HP server side to "only allow" connections from specific I.P. addresses?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 02:11 PM
тАО07-17-2000 02:11 PM
Re: NFS Server need to deny anonymous accounts
Can you group NT users in a netgroup? If yes, you can use the netgroup ( see man netgroup) in stead of hostname and your problem is solved.
Hope it helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 03:16 PM
тАО07-17-2000 03:16 PM
Re: NFS Server need to deny anonymous accounts
What may be a better solution to your situation may be the Advanced Server/9000 (AS/U) product (J2715BA). You can get a limited use edition at http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=J2715BA This product sort of fools Microsoft client machines into thinking that they are connecting to an NT box when in actuality it's and HPUX machine doing the work. It has been a while since I looked at it, so I can't vouch for it, but it may your best bet overall. It would also eliminate the need for Reflections NFS which is quite a resource pig.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 10:59 PM
тАО07-17-2000 10:59 PM
Re: NFS Server need to deny anonymous accounts
the best and inexpensive thing is to use SAMBA for PC connections. It acts like a nt server and you are able to restrict the access by user level and more.
Also there is no need for any additional software at the pc clients, just adding remote lan disk drives whithin ms-windows would do the job.
The administration is very simple: Using any Web browser on port 901 (default) is sufficient.
Here the dowload URL:
http://us1.samba.org/samba/ftp/Binary_Packages/hp/
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2000 12:36 PM
тАО07-27-2000 12:36 PM
Re: NFS Server need to deny anonymous accounts
It could be that you are not correctly running pcnfsd and that the PCNFS mount request is not being authenticated and is then being handed-off to the NFS mountd server as an anonymous request - see #1 below
The key is to:-
1. Set -anon=-1 in the /etc/exports file
Use SAM and Set the Unknown User option
Disable Unknown UID Access
This should update /etc/exports to use the
"-anon=-1" option for all filesystems to disable anonymous access from UNIX (NFS) and PC (PCNFS) clients.
Example /etc/exports entry:
/my_filesys -anon=-1
If editing the file by hand, then run
exportfs -a; exportfs
afterwards to update and re-display the internal maps for validation.
See the exports(4) and exportfs(1m) man pages
On older systems the uids were unsigned ints and hence anon=-1 is 65535 and anon=-2 is 65534
See /usr/include/sys/param.h - UID_NOBODY
2. Ensure that pcnfsd is running
On HP-UX
ch_rc -l -p PCNFS_SERVER
rpcinfo -p hostname|egrep -i pcnfs
Where hostname is the HP servername
I verified this using Hummingbird NFS Maestro v6.01; you should get the same mileage with the WRQ product as this is server-side authentication.
---
It is also true that Samba is increasingly an interesting option, especially as it is now supported via HP as the "CIFS-Server" product - CIFS/9000 (Samba) File and Print Services