Tugriceri Web Notes

Archive for October, 2011

SELinux FTP Home dir write permission

by on Oct.07, 2011, under Linux, Security, SELinux

Connected to
220 (vsFTPd 2.2.2)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name ( test1
331 Please specify the password.
500 OOPS: cannot change directory:/var/ftp/test1
Login failed.
ftp> quit

[root@legion mnt]# getsebool ftp_home_dir
ftp_home_dir –> off
[root@legion mnt]# setsebool -P ftp_home_dir 1
[root@legion mnt]# getsebool ftp_home_dir
ftp_home_dir –> on

Comments Off on SELinux FTP Home dir write permission : more...

tacacs+ compile error

by on Oct.04, 2011, under Linux

if you are getting this error when compiling tacacs+ , you should compile with –enable-maxsess option.

gcc -DHAVE_CONFIG_H -I.   -I/usr/local/include  -g -O2 -pthread    -MT maxsessint.o -MD -MP -MF .deps/maxsessint.Tpo -c -o maxsessint.o maxsessint.c
maxsessint.c: In function ‘maxsess_check_count’:
maxsessint.c:60: error: ‘S_maxsess’ undeclared (first use in this function)
maxsessint.c:60: error: (Each undeclared identifier is reported only once
maxsessint.c:60: error: for each function it appears in.)
gmake[1]: *** [maxsessint.o] Error 1
gmake[1]: Leaving directory `/usr/local/tacacs+-F5.0.0a1′
make: *** [all] Error 2

./configure –sysconfdir=/etc –enable-maxsess

Comments Off on tacacs+ compile error more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...