Public bug reported:

ps -ef  # truncated to make a point

...snip...
root      5329     1  0 09:13 ?        00:00:02 /bin/dd bs 1 if /proc/kmsg of 
/var/run/klogd/kmsg
klog      5331     1  0 09:13 ?        00:00:00 /sbin/klogd -P 
/var/run/klogd/kmsg
108       5353     1  0 09:13 ?        00:00:16 /usr/bin/dbus-daemon --system
root      5369     1  0 09:13 ?        00:00:04 /usr/sbin/NetworkManager 
--pid-file /var/run/NetworkManager/NetworkManager.pid
... snip...
root      5865     1  0 09:13 ?        00:00:01 /usr/sbin/dhcdbd --system
111       5884     1  0 09:13 ?        00:00:13 /usr/sbin/hald
root      5887     1  0 09:13 ?        00:00:02 /usr/sbin/console-kit-daemon
...snip...

The 'ps' command won't show usernames that are longer than 8 characters,
and as such, shows just the UID. Looking up the usernames in
/etc/passwd, UID 111 is username 'haldaemon' and UID 108 is username
'messagedbus'.

This adds complexity to scripts that rely on the output of the 'ps'
command. Messing with the output of the 'ps' command would break
applications, system administration scripts, and other tools beyond
imagination. As a recommendation, how about: 'hald' and 'msgdbus'?

Thoughts?

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
usernames in /etc/passwd longer than eight characters
https://bugs.launchpad.net/bugs/290553
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to