FTPTelnetxmanager network configuration in Suse

Source: Internet
Author: User
Article title: FTPTelnetxmanager network configuration in Suse system. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source, and other basic categories of Suse network configuration
 
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 (inetd)
 
Set/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 ). Run 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 ). Run the vi command to edit the/etc/hosts. allow file and release 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 ). Command to edit the/etc/pam. d/login file, and open 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 automatically discovered) 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 -- OK for the root logon project.
 
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 ".
 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.