Environment: S/390orzSeries; LinuxforS/390 issues: Linux/390 of frequently used commands--view user information answer: at present, about S/390 and a lot of information on Linux, but about LinuxforS/390 documents less, especially with the use of related documents is more rare.
While LinuxforS/390 Linux and other platforms in the system and external devices are different. The following command can be used to view the user information. $ Cat/etc/group lists all user groups: 0: root: root bin:: 1: root, bin, daemon daemon:: 2: root, bin, daemon sys:: 3: root, bin, adm adm:: 4: root, adm, daemon tty:: 5: disk:: 6: root lp:: 7: lp daemon, mem:: 8: kmem:: 9: wheel:: 10: root: 12: mail: mail news:: 13 news uucp: uucp: 14: 15: man: ... $ cat/etc/passwd lists all user ID and login path root: x: 0: 0: root:/root:/bin/bas bin: x: 1: 1: bin:/bin: daemon: x: 2: 2: daemon:/sbin: adm: x: 3: 4: adm:/var/adm: lp: x: 4: 7: lp:/var/spool/lpd: sync: x: 5: 0: sync:/sbin:/bin/sync shutdown: x: 6: 0: shutdown:/sbin:/sbin/shutdown halt: x: 7: 0: halt:/sbin:/sbin/alt mail: x: 8: 12: mail:/var/spool/mail: news: x: 9: 13: news:/var/spool/news: uucp: x: 10: 14: uucp:/var/spool/uucp: operator: x: 11: 0: operator:/root: games: x: 12 100: games:/usr/games: gopher: x: 13: 30: gopher:/usr/lib/gopher-data: gdm: x: 42: 42::/home/gdm:/bin/bas ftp: x: 14: 50: FTPUser:/var/ftpd: nobody: x: 99: 99: Nobody:/:
No comments:
Post a Comment