ubuntu搭建ftp server时 遇到的问题
spider@shadow:~$ service vsftpd restart
stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.92" (uid=1000 pid=6437 comm="stop vsftpd ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.93" (uid=1000 pid=6434 comm="start vsftpd ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
【解决办法】
需要root权限才可以正常运行:
spider@shadow:~$ sudo service vsftpd restart