- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing users from /etc/passwd file
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
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
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
тАО10-12-2003 10:29 PM
тАО10-12-2003 10:29 PM
I have the following users in /etc/passwd file:
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-24::/:
what users I should keep and what I can delete
and why...?
thanking you in advance for your cooperation and help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 10:31 PM
тАО10-12-2003 10:31 PM
SolutionSome of these you actually need anyway. There is no advantage in removing them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 10:37 PM
тАО10-12-2003 10:37 PM
Re: removing users from /etc/passwd file
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 10:37 PM
тАО10-12-2003 10:37 PM
Re: removing users from /etc/passwd file
I know the purpose of these:
lp : for the spooler and printing system
uucp, nuucp : used for unic to unix copy, old but still used sometines
daemon,bin, sys: they own the greatest part of the OS
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 11:23 PM
тАО10-12-2003 11:23 PM
Re: removing users from /etc/passwd file
SO THESE SYSTEM USERS SHOULD NOT BE REMOVED.
best regards
Jinu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2003 11:31 PM
тАО10-12-2003 11:31 PM
Re: removing users from /etc/passwd file
Don't touch them.
daemon is the user that creates and owns certain daemons. Stuff like the ability to read and write to disks.
bin owns lots of root executables.
lp owns and runs the print spooler.
Nobody owns certain processes.
eek!
Seriously, don't touch any of them.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2003 08:59 AM
тАО10-13-2003 08:59 AM
Re: removing users from /etc/passwd file
DO NOT remove any of the accounts that you have mentioned, as they are all used by the operating system.
The '*' denotes a no login account so there is no fear of users using these login accounts to access the system. You never know one day you may want to use some of them like uucp that has already been mentioned.
Have a look at getting your hands on hp-ux 11i security by Chris Wong that discusses at length amongst other things the password file on a trusted and non-trusted system. There are some useful pointers in her book.
(Even if you do not use 11i its worth a read !)
Keith