Enable root access to the ftp service on Solaris:

Enable root access to ftp service on Solaris:
1. By default, the ftp service is enabled, but root access is not allowed. You need to modify /etc/ftpd/ftpuusers, and comment out the root user. This folder contains all users who are denied access.
2. 2. Cancel
3. tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
4. Comment on this line.
5. -bash-3.00# vi /etc/inetd.conf


You can use the svcs -a | grep ftp and svcs -a | grep telnet commands to check the current running status of the two services.
If it returns
disable svc:/network/ftp:default
disable svc:/network/telnet:default
start service
svcadm enable svc:/network/ftp:default
svcadm enable svc:/network/telnet:default
stop service
svcadm disable svc:/network/ftp:default
svcadm disable svc:/network/telnet :default

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326756557&siteId=291194637