- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- Can I define 65535 as nobody in REDHAT 6/7?
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
10-26-2020 05:40 PM
10-26-2020 05:40 PM
Can I define 65535 as nobody in REDHAT 6/7?
In REDHAT 6, nobody is defined as uid=99, and nfsnobody as uid=65534. Not sure of what it's uid is in redhat 7.
in NetApp NFS server, we are planning on and prefer squashing root to 65535. If so, then how do I match this plan to Redhat server?
PLease advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-30-2020 08:42 PM - edited 11-30-2020 08:45 PM
11-30-2020 08:42 PM - edited 11-30-2020 08:45 PM
Re: Can I define 65535 as nobody in REDHAT 6/7?
I work for HPE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-30-2020 08:44 PM - edited 11-30-2020 08:46 PM
11-30-2020 08:44 PM - edited 11-30-2020 08:46 PM
Re: Can I define 65535 as nobody in REDHAT 6/7?
when some user id (uid) or group id (gid) cannot be represented in a Linux namespace, the kernel uses the 65534:65534 uid/gid pair as the uid/gid of a process or file.
Defining the nobody user with the uid/pair of 65534 is not an industry standard, but it is a current good practice: multiple Linux distributions, and BSD systems follow this convention
- on a RHEL 8 system, verify that the nobody user has the uid/gid 65534
grep nobody /etc/passwd
nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin - on a RHEL 7 system, the nobody user has the uid/gid 99
grep nobody /etc/passwd
nobody:x:99:99:Nobody:/:/sbin/nologin
I work for HPE
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP