& Nbsp; network configuration in Suse I. vsftp is recommended for FTP configuration. if pure-ftpd is used, remove the pure-ftpd service. (1) the Root user executes yast2 --- networkservices -- and networkservices (inetd) to/usr/sbin/pure-ftpd and/usr/sbin/v
Network Configuration in Suse
1. FTP configuration
We recommend that you use vsftp. if you use pure-ftpd, you must disable the pure-ftpd service.
(1) the Root user executes yast2 --- network services -- network services (inetd)
Bind/usr/sbin/pure-ftpd and/usr/sbin/vsftpd
Set the pure-ftp status to off and vsftpd status to on respectively, and click the button to complete the modification.
(2) comment out the following four items in vi/etc/vsftpd. conf:
# Write_enable = YES
# Local_enable = YES
# Ascii_upload_enable = YES
# Ascii_download_enable = YES
(3) vi/etc/ftpuser comment out the root user
(4) restart the network service:/etc/init. d/xinetd restart
II. Telnet settings
(1) use the vi command to edit the/etc/hosts. deny file, and open the telnet logon permission control,
# Vi/etc/hosts. deny:
Add the "#" comment before the ALL: ALL row to cancel the row.
(2) use the vi command to edit the/etc/hosts. allow file and open the root user logon permission control:
Add ALL: ALL
(3) run the vi command to edit the/etc/xinetd. d/telnet file and release telnet:
Use "#" to cancel disable = yes, or change it to disable = no
(4). edit the/etc/pam. d/login file with the command, and release the root user logon permission control,
# Vi/etc/pam. d/login:
Add the "#" comment in front of the auth required/lib/security/pam_securetty.so line to cancel the line.
(5) start the xinetd service,
#/Etc/init. d/xinetd stop
#/Etc/init. d/xinetd start
3. xmanager configuration
1. remove the comments from the/etc/X11/xdm/Xaccess file.
# * # Any host can get a login windows
?? Change
* # Any host can get a login windows
2. comment out the/etc/X11/xdm-config file.
"Display Manager. Requestport 0"
3. in the [xdmcp] section of the/etc/opt/gnome/TPD. conf file, change Enable to true to remove the # Port = 177 comment.
4. in the/etc/opt/kde3/share/config/kdm/kdmrc file, in the [Xdmcp] Section, change enable to true to remove the # Port = 177 comment.
5. check/etc/inittab to change the running level to 5 (X11). if it is 3, you will see a command line window instead of a desktop.
Init 0 (halt, do not set it to the system's initdefault)
Init 1 (single user mode, single user mode)
Init 2 (multiuser, without nfs, multi-user mode, without NFS)
Init 3 (Full multiuser mode, multi-user mode, with NFS)
Init 4 (unused, retained)
Init 5 (X11, Gui multi-user mode)
Init 6 (reboot, do not set it to the system's initdefault)
Id: 5: initdefault:
6. disable the firewall
Modifying the firewall configuration file/etc/sysconfig/ipchains may be/etc/sysconfig/iptable,
Add the following content to the file header,
# If you want to use GNOME/KDE, add the following line.
-A input-p udp-s 0/0-d 0/0 177-j ACCEPT
7. reboot
Connection:
Open Xmanager-broadcast in the same CIDR block of Xmanager and enter the IP address in Xbrowser.
XDMCP uses the same CIDR block of Exceed in broadcast mode (hosts can be detected automatically) and query is used across CIDR blocks.
XManager logs on to the xWindow of SuSE. root users cannot log on. other users can
1. in/etc/sysconfig/displaymanager, you need to set the project for root login --- OK
Set DISPLAYMANAGER_ROOT_LOGIN_REMOTE = "no"
Changed to DISPLAYMANAGER_ROOT_LOGIN_REMOTE = "yes"
2. create the/etc/rc. config file and add the following line: ROOT_LOGIN_REMOTE = "yes ".