Справочник Пользователя для Sony XCI-SX1

Скачать
Страница из 28
XCI-SX1  SDK  / SDK Technical Manual 
 
----------------------------------------------------------- 



echo -n "Configuring network interfaces: " 
  
/sbin/dhcpcd -t 30 > /dev/null 2>&1 
     /sbin/ifup -a 
 echo 
"done." 



----------------------------------------------------------- 
 
 
2.3.5 FTP Service 
 
To enable file transfer from and to the system, edit the 
/etc/inetd.conf
 to enable FTP service every time the system starts 
up.  This feature would be very helpful during installations of other files.  
Please see the setting below. 
 
----------------------------------------------------------- 


# These are standard services. 

# ftp stream 
tcp 
nowait 
root  /usr/sbin/tcpd 
wu.ftpd -a 
# ftp stream 
tcp 
nowait 
root  /usr/sbin/tcpd 
proftpd 
 
ftp 
stream tcp 
nowait root 
/usr/sbin/tcpd 
in.ftpd. 



---------------------------------------------------------- 
 
 
2.3.6 User Accounts and their Capabilities 
 
By default, only the root user can access the system.  During first boot 
up, the root username still has no password.  To give a password for the 
<account_name> user, the command below can be executed: 
 
passwd <account_name> 
 
11