Create multiple users in ubuntu 12.04 and enable telnet remote login ubuntu to create/delete users and change the password to log on with the root account. Create a new user: run: $ sudo adduser tete is adding user "tete "... adding new group "tete" (1002 )... adding new user "tete" (1002) to group "tete "... create a home directory "/home/tete "... copying file from "/etc/skel... enter a new UNIX Password: passwd: the password Changing the user information for tete Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is this information correct? [Y/n] Enter "y" in y and press Enter! Delete user: Syntax: userdel [-r] [name of the user to be deleted] example: [root @ localhost ~] Userdel-r tete: the general format of this command is passwd [user name], where the user name is the user name to change the password. Only super users can use "passwd User Name" to modify passwords of other users. Common users can only use passwd commands without parameters to modify their own passwords. The command is used as follows: Enter passwd <Enter>; Enter the current password under (current) UNIX passwd: In new password: prompt to enter a new password (the password is not displayed on the screen): The system prompts you to enter the new password again. After the password is entered correctly, the new password is encrypted and put into the/etc/shdow file. It is important to select a password that is not easily deciphered. Password selection should follow the following rules: the password should contain at least six (preferably eight) characters; the password should contain uppercase and lowercase letters, punctuation marks, and numbers. The superuser modifies the passwords of other users (xxq) as follows: # passwd root New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully # [Appendix: use the "su" command to change the user, such as: $ su demo] Enable telnet remote logon 1. because ubuntu12.04 does not have/etc/inetd. conf, so you do not need to configure it. 2. install sudo apt-get install xinetd telnetd 3. configure/etc/xinetd. conf and/etc/xinetd. d (1) Modify/etc/xinetd. conf is as follows # Simple configuration file for xinetd # Some ults, and include/etc /Xinetd. d/defaults {# Please note that you need a log_type line to be able to use log_on_success # and log_on_failure. the default is the following: # log_type = SYSLOG daemon info instances = 60 log_type = SYSLOG authpriv log_on_success = host pid log_on_failure = HOST cps = 25 30} includedir/etc/xinetd. d # What are the specific parameters of the red part? (2) directory/etc/xinetd. d. The new telnet content of the service to be started is as follows: touch telnet: service telnet {d Isable = no flags = REUSE socket_type = stream wait = no user = root server =/usr/sbin/in. telnetd log_on_failure + = USERID} Run sudo/etc/init. d/xinetd restart telnet localhost can be found that the telnet service has been started.