Software :: OpenSSH W/ Selinux Compile Error On CentOS 4.8?

Mar 16, 2010

Code:
$ ./configure --with-md5-passwords --with-selinux --with-pam
[snip]
Host: i686-pc-linux-gnu
Compiler: gcc

[Code]..

View 2 Replies


ADVERTISEMENT

CentOS 5 Server :: RPM Build Error Openssh 5.8p1?

Jul 19, 2011

I am trying to build rpm for openssh 5.8p1 on centos 5.6 (32 bit) as i have not found rpm for i386 online. i followed the below mentioned steps but when i apply command rpmbuild -bb openssh.spec it gives this error at the end:

configure error: Pam Headers not found
error: Bad exit status from /var/tmp/rpm-tmp.18348 (%build)

if there is any rpm availble online or to sort out this build problem,Following steps i followed to build rpm. wget http://mirror.mcs.anl.gov/openssh/portable/openssh-5.8p1.tar.gz

tar -xvzf openssh-5.8p1.tar.gz[code]......

Now if you go back into /usr/src/redhat/RPMS/<arch> , you should see three RPMs. Go ahead and install them:rpm -Uvh *.rpm

View 5 Replies View Related

Red Hat / Fedora :: Getting Error While Trying To Compile Octave-3.2.4 With Centos 5.5

Jun 25, 2010

I am trying to compile octave-3.2.4 with centos 5.5 and I get the following error

[code]...

I have looked and I can not find any solutions.

View 2 Replies View Related

CentOS 5 :: Error: Glib-compile-schemas Not Found

Apr 14, 2011

checking what language compliance flags to pass to the C compiler...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
configure: error: glib-compile-schemas not found. < ---

1. How to determine what package glib-compile-schemas belongs to ?

2. Where to get the package ?

I'm basically trying to install Anjuta 3.0 and getting this error when I run ./configure

View 2 Replies View Related

CentOS 5 Server :: How To Install Openssh 5 On CentOS 5.5 From RPM

Jul 7, 2010

I would like to replace default OpenSSH version 4.3 with latest one (5.x). New version do support SFTP chroot, which is something I need.Of course, it can be compiled from source, but it is worst possible option for maintenance, since I do have few servers. Does someone provide RPMs or source RPMs at least ? If yes, what is repository/URL ?

View 3 Replies View Related

CentOS 5 :: Centos Installation In Vmware Hangs At Selinux-policy-targeted?

Jun 14, 2010

i am trying to install centos 5.5 x86_64 as a guest OS in vmware server 2.0.2 using netinstall iso. Installation runs fine until the point, when it tries to install selinux-policy-targeted-2.4.6-279.el5.noarch, the whole virtual pc hangs at this.any ideas? i tried to google few things about this, but i have found nothing. this has happened 3 times in row, whole virtual pc always hangs at the same package. i dont have any other problems with vmware, gentoo runs and installs fine in it.i would prefer to do installation using netinstall.iso, it would take a lot of time to download all cds or whole dvd and all i require is a very basic set of packages.

View 7 Replies View Related

CentOS 5 :: OpenSSH - Upgrade To Support Features In V.4.8?

Oct 8, 2009

I need to find a way to upgrade OpenSSH support to something more than the patched 4.3p2 which comes included in CentOS 5.3. Specifically I want to be able to use the Chroot functionality which was added in OpenSSH 4.8.

# The following directives force ben_files to become chrooted
# and only have sftp available. No other chroot setup is required.
Match user ben_files

[code]....

View 2 Replies View Related

CentOS 5 :: Compiling Openssh-5.8p1 With Default Configure Parameters

Mar 25, 2011

Now to business. I need to statically build openssh-5.8p1 and the compile fails. some box information: CentOS release 5.5 (Final) arch i686

first thing's first. Quote:yum groupinstall "Development Tools" "Development Libraries"

View 1 Replies View Related

Red Hat / Fedora :: Install Openssh Server With Public Key Authentication On CentOS

Apr 19, 2009

I am trying to install openssh server with public key authentication on CentOS.

But i am getting following error message: Disconnected: No supported authentication method available Server refused keys

My sshd_conf file is as follows:

View 1 Replies View Related

Ubuntu Servers :: SFTP Setup Using OpenSSH - Network Error?

Jul 6, 2011

I'm new around here and pretty new to ubuntu and linux in general. I am setting Up an sftp server. I set it up using openssh and it worked fine for a few months. Then recently we experienced a power outage. Now the server will boot fine, all users can login locally, but when they try to login remotely they enter their user info and then are denied with some generic network error. Again, being a noob at this I tried to trouble shoot this a little bit but I'm not quite sure what to look for. I believe the ssh service is running but I don't know what else to look for.

View 9 Replies View Related

Software :: Openssh - Compiling Error - Argv_start Not Declared In Setproctitle.c?

Jan 22, 2010

The full error that I get is:

Code:
setproctitle.c: In function 'compat_init_setproctitle':
setproctitle.c:100: warning: implicit declaration of function 'strlen'
setproctitle.c:100: warning: incompatible implicit declaration of built-in function 'strlen'
setproctitle.c:104: warning: incompatible implicit declaration of built-in function 'strlen'
setproctitle.c:108: error: 'argv_start' undeclared (first use in this function)
code....

View 2 Replies View Related

Fedora Servers :: SELinux - Find A List Of All The Booleans For SELinux (10) Using Getsebool -a

Feb 23, 2009

You can find a list of all the booleans for SELinux (Fedora 10) using getsebool -a My question is, is there a reference online that describes each one. Most of obvious but it's one of those "I have to know because it's there situation).

View 5 Replies View Related

CentOS 5 :: Selinux Alert After Upgrade?

Jun 30, 2009

I have a selinux alert every time I print to cups_pdf after upgrading to Centos 5.3 from 5.2. This never happened before. This is the alert I get

SELinux is preventing sh (cups_pdf_t) "search" to ./sbin (sbin_t)

It tells me to allow the access I need to run the cmd

restorecon -v './sbin'

I have tried it but nothing happens.

View 1 Replies View Related

CentOS 5 :: SELinux Buggered Up 5.4 Boot?

Apr 26, 2010

I turned on SELinux today on my laptop, but when I tried to reboot I found that I can't! The boot process stalls every time on "Starting system logger". A load of "permission denied" messages preceed that, including various items in /var/sys. Most flash by far too fast for me to note them down.

I have tried the backup kernel from the grub menu but get the same result. What has gone on here and what can I do to get around this?

View 5 Replies View Related

CentOS 5 :: Postfix - SELinux Is Preventing Postdrop

Feb 3, 2010

I am running Postfix on my CentOS (latest) powered box with SELinux at Enforcing mode.

This is what I get each time Postfix tries to send e-mail:

Quote:SELinux is preventing postdrop (postfix_postdrop_t) "write" to pipe (initrc_t).

View 4 Replies View Related

CentOS 5 Server :: Where Are The Booleans For SELinux Stored

Sep 24, 2010

I always thought that whenever /usr/sbin/setsebool was used, it would write either a "0" or a "1" into the corresponding boolean file. All SELinux boolean files are in /selinux/booleans but If I check, for example, this boolean ...

$ sudo /usr/sbin/getsebool ftp_home_dir
ftp_home_dir --> on

It returns a positive, but if I do

$ sudo less /selinux/booleans/ftp_home_dir

I get ... read error (Press Return)

Furthermore, if I list the boolean file itself, it shows it to be empty

$ sudo ls -l /selinux/booleans/ftp_home_dir
-rw-r--r-- 1 root root 0 Aug 9 11:09 /selinux/booleans/ftp_home_dir

Where is SELinux storing the booleans then?

This is on CentOS 5.4

View 3 Replies View Related

Fedora :: Get SELinux And Wine Error

Jan 2, 2011

I get the SELinux and wine error. How can this be fixed?

View 1 Replies View Related

Red Hat / Fedora :: SElinux Error And Lock Out

Sep 24, 2010

I have accidentally locked myself out in the following manner. I have Fedora 13 with SElinux. The whole hard drive was encrypted at install with Fedora's standard method. Upon logging into a non-root account called "hoss", I set the policy (in gnome) System menu -> Administration -> SElinux administration -> User Mapping -> added the logged on user as a SElinux user with only user_u privileges. After reboot, I successfully log in as hoss, but now I get an error when trying to open the SElinux administration, any open office program, or any task requiring elevation with root password (the prompt never comes up). What is worse is I did not set the ability to login the console as root. This user now does not have write privileges to any of root's documents. I cannot access the hard drive from a remote source because it is encrypted. Is there any way whatsoever to now elevate myself to root to reconfigure SElinux? When I open the SElinux administration Should there not be a prompt that gives me a root password to be able to correct SElinux by removing "hoss" from the list? As of right now this account seems to be totally unable to be elevated to higher privileges. I cannot even use the Add/Remove software feature to apply patches to SElinux without a root password. Elevating to su in bash is also blocked.

View 3 Replies View Related

Server :: SELinux Permissions \ Getting The Error Described In This Bug?

May 20, 2011

I'm getting the error described in this bug. The fix is described in the bug:Code:The following additional SELinux permissions were found to resolve the situation:

samba_domtrans_winbind_helper(httpd_t)
allow httpd_t winbind_helper_t:process signal;
apache_append_log(winbind_helper_t)

[code].....

View 2 Replies View Related

CentOS 5 Server :: Can't Set Vsftpd With SElinux Properly / Sort It?

Apr 8, 2010

I'm able to connect to ftp as a virtual user. It was also difficult as nowhere mentioned, that it should be done with SSL. Anyway I found the answer and got connection. But now I can't connect to ftp server as system user. It gives me "530 Permission denied", or if I delete the user from the file denied_users, - "530 Login incorrect".

1. Still I can't understand, how I can log in to FTP server with a system user.Also some other questions regarding this matter:

2. My httpd server Apache has a virtual hosts located in "/home" directory.The scripts create users in "/var/ftp virtual_users". Will it cause any problem if I will change them to "/home"? All I need to do with this is ability to have several virtual hosts in one server with separate access to each of them via FTP. And 1 account with access to all files in "/home".

3. In my ftp client I can see the owner of virtual host "ftp" instead of username.

View 7 Replies View Related

CentOS 5 Server :: Cannot Acess Samba Share Unless SElinux Is Off?

May 8, 2009

I don't think it has anything to do with the config file.More to do with SElinux. I need to know how to configure SElinux so I can see my samba share when SELinuxis on. When I setenforce 0 I can seen all the files and folders set it to setenforce 1 cannot see anything.Here is the output when I ran [root@fileserver /]# getsebool -a | grep smballow_smbd_anon_write --> onsmbd_disable_trans --> onThese two options were off I tried turning them on.This is another one of the commands I tried running. I did change a few options but I am not sure which I do need to change. I am running a stand alone server so I don't need the DC option.

[root@fileserver /]# getsebool -a | grep samba
samba_domain_controller --> off
samba_enable_home_dirs --> off

[code]....

View 2 Replies View Related

CentOS 5 :: Why The Selinux Module For Nagios Doesn't Work

Dec 8, 2009

Is there a reason why the selinux module for nagios just doesn't work? I'm running CentOS release 5.4 (Final) and did "yum install nagios" and now have nagios-3.2.0-1.el5.rf installed. I'm having to create policy after policy after policy, and still haven't reached the end of the rainbow.

I suppose after I run out of selinux violations, I could figure out how to combine all of these modules and post the result, but it seems really, really weird to think that I'm the only person who has ever installed nagios from the repo with SELinux enabled.

View 1 Replies View Related

Security :: Installed CentOS And Redhat5 On A LVM Partition And Selinux Is Enabled?

Oct 18, 2010

I have installed CentOS and Redhat5 on a LVM partition and selinux is enabled. Both OS's share the same /home partition with one user with the same login(gc) and same uid (1000). The problem I am having is that gc can login with all permissions etc on the OS that was installed first (CentOS). For the redhat OS gc can login but cannot write to the home directory (or startx since X needs to write to Xauthority)Here are outputs - 1st CentOS

[gc@shuttle ~]$ ll -Zd $HOME
drwx------ gc gc system_ubject_r:unlabeled_t /home/gc
[gc@shuttle ~]$ stat $HOME

[code]....

View 1 Replies View Related

Programming :: Create File Via Perl With Centos SELinux Setup?

Mar 31, 2011

I'm running Apache on Centos 5.5, with active SELinux, and I'm having trouble getting my Perl script to write a file that doesn't yet exist to a folder which has the proper security context.

View 9 Replies View Related

Security :: When Sending The Mail A Selinux Error Is Coming?

Aug 19, 2009

i configured sendmail with squirrelmail in RHEL5.3

it is working fine. i can send the mail and receive the mail .

but when i try to send the mail a selinux error is coming[but mail is sending successfully ]. i don't under stand this message.

Quote:

Summary:

SELinux is preventing sendmail (system_mail_t) "read" to eventpoll (httpd_t).

Detailed Description:

SELinux denied access requested by sendmail. It is not expected that this access is required by sendmail and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.

Allowing Access:

Sometimes labeling problems can cause SELinux denials. You could try to restore the default system file context for eventpoll,

restorecon -v 'eventpoll'

If this does not work, there is currently no automatic way to allow this access.Instead, you can generate a local policy module to allow this access - see FAQ(url) Or you can disable SELinux protection altogether. Disabling SELinux protection is not recommended.Please file a bug report (url) against this package.

Additional Information:

Source Context system_u:system_r:system_mail_t
Target Context system_u:system_r:httpd_t
Target Objects eventpoll [ file ]
Source sendmail
Source Path /usr/sbin/sendmail.sendmail
Port <Unknown>
code....

View 3 Replies View Related

CentOS 5 :: How To Compile 32bit Application In 64bit CentOS(5.2)

Mar 19, 2010

Use python as example, I have 64bit python 2.4.3 yet I can't found rpm for 32bit one so I try to build it.Use default make or make --enable-readline is ok, python make cannot use CFLAGS, can use OPT and LDFLAGS to add -m32, yetit seems can only search for 64bit lib, or else crush.[Moderator edit: Moved from CentOS-4 to CentOS-5 forum.]

View 9 Replies View Related

CentOS 5 Server :: Openssh 5.8p2 - Transfer Data From Other Server Through Scp It Gives Connection Refused?

Aug 1, 2011

I have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.

Port 22
PermitRootLogin no
1.override default of no subsystems[code].....

View 5 Replies View Related

General :: Error: Security Context Requested, Bu No Selinux Support! Aborting

Apr 19, 2010

I try to install IPsec-Tools on Slackware 13, but I get an configure error: configure: error: Security Context requested, bu no selinux support! Aborting. I'm linux newbie and I'm following a slackware-basics tutorial, I did as in the tutorial, but the configure stops and aborts:

Code:
# CFLAGS="-O2 -march=i486 -mcpu=i686"
./configure --prefix=/usr
--sysconfdir=/etc
--localstatedir=/var

[Code]...
What can I do? How can I enable/install selinux support? I guess it's related with AH and ESP protocols, which in my kernel are defined as modules (m). If so, how can I enable them?

View 5 Replies View Related

Fedora Servers :: Make PHP Pages - Shows An Internal Error 500 Page But Doesn't Show On What Line And Compile Error Encountered

Feb 1, 2011

I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...

View 3 Replies View Related

Security :: CentOS 5 - SELinux Denial Of Wicd / Wpa_supplicant - Get Wireless To Work Properly Using Default NetworkManager

May 11, 2010

I am trying to use CentOS 5.4 to set up a secure laptop, largely because of it's SELinux functionality. Unfortunately I couldn't get wireless to work properly using the default NetworkManager so I installed wicd. Initially it buggered up my whole installation but after relabelling files using SEL I can now use my system again. but.. I can't use it with SELinux enabled, as it denies the required accesses for wicd to work. I also get similar SELinux denials for wpa_supplicant. A couple of snippets from /var/log/audit/audit.log -

[Code]....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved