nobody:!:-2:-2:System Id :/:/bin/false
In the early days of unix, when they started creating common users, like root and admin and sys, the defaulted their ids as certain number so they would be common over all unix systems. They all had to create other accounts like nobody and created the id as -2, meaning that it is not a real id. (If you look at the /etc/security/passwd you will see they don't actually have a password.)
They had created this -2 in a 32 bit world. -2 is actually the twos compliment of 4294967294 in a 32 bit world. They are actually the same number. However, some programs thought that ids would only be positive and thus would reject the -2. Later versions of UNIX would allow both -2 and 4294967294 to mean the same thing. Some programs will only accept 4294967294. Which is why they have recently started to default the number to 4294967294, which by the way, is also double the maximum
number you are allow to put into that field.
In short, -2 and 4294967294 are the same number and can be swapped back and forth at will. Why they are different on different machines is propably due to the different levels of AIX that they are and when those files were made. It is also possible that some programs will change those numbers themselves. For instance, mkuser will allow you to add a user to the nobody group and even if the nobody group is 4294967294, it will change it to -2.
My blog has moved,please visit the new site
IBM AIX/UNIX system storage administration ksh/perl scripting
Wednesday, April 22, 2009
Why nobody user has -2 as uid on AIX
Subscribe to:
Post Comments (Atom)
Labels
- ACL (1)
- admin (2)
- AIX 5.3 (1)
- AIX 6.1 (3)
- Atape (1)
- backup (5)
- backupios (1)
- Best Practices (1)
- bosboot (1)
- cdrom (1)
- cfgmgr (1)
- commands (4)
- compatibility (1)
- console (1)
- device (2)
- dhcp (1)
- disk (1)
- DNS (2)
- Downloads (1)
- dump (1)
- Dynamic (1)
- error (1)
- errpt (1)
- ESS (1)
- etherchannel (1)
- Filesystem (7)
- firmware (2)
- Freeware (1)
- ftp (2)
- getty (1)
- GNU (1)
- HACMP (2)
- HEA (1)
- HMC (2)
- hostname (1)
- I/O (1)
- Installation (2)
- installp (2)
- IP alias (1)
- iptrace (1)
- iso (2)
- IVM.CLI (1)
- jfs (1)
- JFS to JFS2 conversion (1)
- jfs2 (2)
- kdb (1)
- kernel (1)
- LED (2)
- lifecycle (2)
- Live Partition Mobility (1)
- lofiadm (1)
- login (1)
- LPAR (1)
- lppchk (1)
- lsof (1)
- LV (1)
- lvm (3)
- memory (1)
- migration (4)
- mksysb (2)
- mkvdev (1)
- mkvgdata (1)
- mount (1)
- multibos (1)
- ndd (2)
- netstat (1)
- network (7)
- NFS (2)
- NIC (4)
- NIM (2)
- NPIV (1)
- ODM (2)
- openssh (1)
- oslevel (1)
- patching (1)
- Performance (4)
- Perl (2)
- Perl Module (2)
- permission (1)
- port (1)
- Power VM (1)
- Power5 (1)
- Power6 (1)
- printer (1)
- problem (17)
- process (4)
- RAID5 (1)
- Recovery (2)
- respawn (1)
- restore (1)
- routing (4)
- RSC (1)
- runq (1)
- savevg (1)
- scripts (4)
- SEA (1)
- security (5)
- sendmail (1)
- solaris (7)
- SSA (1)
- SSH (2)
- ssh-agent (1)
- storage (3)
- subnet (1)
- Sun Remote System Control (1)
- support (2)
- synchronize (1)
- TCPIP (5)
- telnet (2)
- time zone (1)
- topas (1)
- Total Storage (1)
- trace (2)
- tuning (1)
- uninstall (1)
- update (1)
- update boot (4)
- upgrade (3)
- users (2)
- Veritas Volume Manager (1)
- VG (1)
- VIOS (4)
- VMM (1)
- VxVM (1)
- wtmp (1)
Blog Archive
-
▼
2009
(65)
-
▼
April
(10)
- Backupios Fails with 0512-008 savevg
- Mail stucked in /var/spool/mqueue
- Reconfigure the console on AIX
- Why nobody user has -2 as uid on AIX
- Unable to uninstall bos.dlc.qllc
- ssh_exchange_identification: Connection closed by ...
- FAQ: Patching for the Solaris OS
- Now possible to upgrade directly from Solaris 8 SP...
- Cfgmgr does not find a device
- bosboot warning message
-
▼
April
(10)
1 comment:
秀吧視頻
好聊123
好聊聊天室
同城一夜免費交友網
免費床友交友網
床友
極致情緣
同城
一夜情交友QQ群
約炮網
床友網
床友吧
一夜床友吧
找床友
紫色蜜桃網
金都情緣聊天室
有緣網
淘男網
妁酷網
夜生活網
上海龍鳳論壇
上海龍鳳
交友網站
風雲聊
7聊視頻表演聊天室
9聊視頻語音聊天室
飄聊視頻語音聊天室
摳摳視頻秀
冰心聊
秀聊聊天室
都秀視頻社區下載
七聊視頻語音聊天室
7聊視頻聊天語音聊天
7聊語音聊天
視頻表演聊天室
可樂視頻多人聊天室
在線視頻語音聊天室
語音聊天室免費房間
七聊視頻語音聊天室
9聊
九聊視頻語音聊天室
可樂聊天室
碧聊視頻語音聊天室
農夫聊語音聊天室
可樂視頻社區
可樂視頻
視頻秀聊天室
呱呱視頻社區
碧聊聊天室
碧聊語音聊天室
視頻語音聊天室
天下聊語音聊天室
愛聊語音聊天室
天下聊天室網址
天下聊
天下聊聊天室
網聊
農夫聊
冰心聊天室
視訊美女免費
Post a Comment