Restore default java, xml syntax-highlighting
Download from http://eclipsecolorthemes.org/?view=theme&id=790
EPF file
File-> Import -> General -> preference
Select epf downloaded.
Showing posts with label brokenpipe. Show all posts
Showing posts with label brokenpipe. Show all posts
Sunday, October 25, 2015
Friday, October 23, 2015
eclipse reduce tab height
Simple and definitive guide for this annoing problem
Every Linux GTK (and not only) them present horrible Eclipse IDE
I'm working with:
CentOs 7 GUI
Eclipse Mars 4.5
You can customize file in this path:
$YOURHOMEDIR/.p2/pool/plugins/org.eclipse.ui.themes_x.x.x.x.V.xxxxxx/e4_default_gtk.css
Modify css class as:
.MPartStack {
font-size: 9;
font-family: Liberation Sans;
swt-tab-renderer: null;
swt-tab-height: 22px;
swt-selected-tabs-background: #FFFFFF #ECE9D8 100%;
swt-simple: false;
swt-mru-visible: false;
}
to obtain decent tab style
Alternative to yuo can install Eclipse plugin :
Go to menu Help > Install new software, then install
After restart, go to Window > Preferences, General > Appearance and now you can edit styles here for any selected theme
Every Linux GTK (and not only) them present horrible Eclipse IDE
I'm working with:
CentOs 7 GUI
Eclipse Mars 4.5
You can customize file in this path:
$YOURHOMEDIR/.p2/pool/plugins/org.eclipse.ui.themes_x.x.x.x.V.xxxxxx/e4_default_gtk.css
Modify css class as:
.MPartStack {
font-size: 9;
font-family: Liberation Sans;
swt-tab-renderer: null;
swt-tab-height: 22px;
swt-selected-tabs-background: #FFFFFF #ECE9D8 100%;
swt-simple: false;
swt-mru-visible: false;
}
to obtain decent tab style
Alternative to yuo can install Eclipse plugin :
Go to menu Help > Install new software, then install
E4 CSS editor (Incubation)
plug-in using update site (add this link: http://download.eclipse.org/e4/updates/0.12). After restart, go to Window > Preferences, General > Appearance and now you can edit styles here for any selected theme
Wednesday, January 2, 2013
VSFTPD Bloccare limitare user alla home directory
Spesso quando configuriamo un daemon ftp su linux abbiamo la necessità di limitare l'accesso dei nostri utenti solamente alla rispettiva home directory.
Nel nostro caso consideriamo di usare vsftpd
In una configurazione minimale ci troveremo nella situazione di avere un file vsftpd.conf del tipo
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
Ed un file chroot_list di configurazione in /etc/vsftpd/ contenente gli utenti chrooted
ad esempio
ftptestuser
E' importante ricordare se in vsftpd.conf settiamo:
chroot_local_user=YES
chroot_list_enable=YES
significa che di default TUTTI gli user saranno chrooted AD ECCEZIONE di quelli elencati nel file chroot_list
Invece se in vsftpd settiamo:
chroot_local_user=NO
chroot_list_enable=YES
significa che di default SOLAMENTE gli user elencati nel file chroot_list saranno chrooted
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
allow_writeable_chroot=YES
Nel nostro caso consideriamo di usare vsftpd
In una configurazione minimale ci troveremo nella situazione di avere un file vsftpd.conf del tipo
#--------------------------------------------------
# VSFTPD configuration file, powered by Brokenpipe
#--------------------------------------------------
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
idle_session_timeout=600
data_connection_timeout=120
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome to Ftp service. Powered by Brokenpipe
chroot_local_user=NO
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
Ed un file chroot_list di configurazione in /etc/vsftpd/ contenente gli utenti chrooted
ad esempio
ftptestuser
E' importante ricordare se in vsftpd.conf settiamo:
chroot_local_user=YES
chroot_list_enable=YES
significa che di default TUTTI gli user saranno chrooted AD ECCEZIONE di quelli elencati nel file chroot_list
Invece se in vsftpd settiamo:
chroot_local_user=NO
chroot_list_enable=YES
significa che di default SOLAMENTE gli user elencati nel file chroot_list saranno chrooted
500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
allow_writeable_chroot=YES
Subscribe to:
Posts (Atom)