GUI

Error: 500 OOPS: vsftpd: refusing to run with writable root inside chroot()

Posted on

Each time while am installing VSFTPD on ubuntu and enable chroot for the users it will refuse to login to the home directory because of write permission in its parent dir, to fix this I used the command

chmod a-w  /path/to/the/ftp/home

but is was most annoying and frustrating problem. I supposed to update the vsftpd package with security fix. the steps are below.

wget http://ftp.us.debian.org/debian/pool/main/v/vsftpd/vsftpd_3.0.2-3_amd64.deb
dpkg -i vsftpd_3.0.2-3_amd64.deb
echo "allow_writeable_chroot=YES" >> /etc/vsftpd.conf
echo "seccomp_sandbox=NO" >> /etc/vsftpd.conf
service vsftpd reload

now the FTP service will work calm in my server.

Advertisements

Howto: Run remote applications in full GUI mode.

Posted on Updated on

GUI ssh

First you need to have a ssh access to network or system you need to open files on GUI ( some of the point you must note it down that give end of  this post to worked out it )

just uncomment ForwardX11 yes in /etc/ssh/ssh_config file. After that if you type,  filezilla for an example, the remote application will run in full GUI mode.

$ ssh username@example.com

Password:

[user@hostname ~]#filezilla

OR

Another a simple way to have these setting without editing sshd configuration file

Simple login at ssh with this patameter

$ ssh -X username@example.com (parameter cap sensitive )

Password:

[user@hostname ~]#filezilla

Note : You must logon to another machine to terminal  with a gui session,

Check both the OS version or same (ie: if you are useing centos 5.3 the destination machine also working with same centos 5.3 )


Have a fun……………..:)