This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to

Linux: duplicated account identities

Added by ruby over 1 year ago

Linux system supports accounts with duplicated identities

1 $ useradd -u 0 -g 0 toor
2 useradd: UID 0 is not unique
4 $ useradd -u 0 -g 0 toor -o
5 # no error reported

This feature is very useful if you have multiple authentication sources on your system :)

There is another way: edit the file /etc/passwd directly and then use the command pwconv to transfer your changes to /etc/shadow. Please note that the order of accounts in /etc/passwd is important.