[rhn-users] Authconfig Problem

Frazier, Darrell USA CRC (Contractor) Darrell.Frazier at crc.army.mil
Mon Sep 26 16:11:15 UTC 2005


When configuring PAM. It is customary to take the execution bit off the
binary so that the system-auth file isn't overwritten:

As root:

chmod 600 /usr/sbin/authconfig
chmod 600 /usr/bin/authconfig

Hope this helps.

Darrell

-----Original Message-----
From: rhn-users-request at redhat.com [mailto:rhn-users-request at redhat.com] 
Sent: Monday, September 26, 2005 11:00 AM
To: rhn-users at redhat.com
Subject: rhn-users Digest, Vol 19, Issue 29

Send rhn-users mailing list submissions to
	rhn-users at redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.redhat.com/mailman/listinfo/rhn-users
or, via email, send a message with subject or body 'help' to
	rhn-users-request at redhat.com

You can reach the person managing the list at
	rhn-users-owner at redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of rhn-users digest..."


Today's Topics:

   1. Authconfig Problem (sudhanshu chopra)
   2. g++ (Craig M. Jameson)
   3. Re: g++ (Naoki)
   4. Re: g++ (Craig M. Jameson)


----------------------------------------------------------------------

Message: 1
Date: Sun, 25 Sep 2005 22:49:00 +0530
From: "sudhanshu chopra" <sid_prodigy at hotmail.com>
Subject: [rhn-users] Authconfig Problem
To: rhn-users at redhat.com
Message-ID: <BAY23-F6FA3DE61AEB5B63303E6C90880 at phx.gbl>
Content-Type: text/plain; format=flowed

hello friends,

i'm presently configuring pam.Whenever i run authconfig command,my 
/etc/pam.d/sytem-auth file is regenerated.
What can be done so that whenever i run authconfig command my 
/etc/pam.d/system-auth file is not changed?

waiting for ur reply.
thanks you

Regards
Sudhanshu Chopra

_________________________________________________________________
Repay your personal loan on your own terms. 
http://www.hsbc.co.in/script/in/common/redirect.asp?redirectto=/in/personal/
loans/perloan.htm 
With HSBC's MyTerms Credit



------------------------------

Message: 2
Date: Sun, 25 Sep 2005 22:23:43 -0600
From: "Craig M. Jameson" <cjarith at comcast.net>
Subject: [rhn-users] g++
To: rhn-users at redhat.com
Message-ID: <1127708623.31028.26.camel at Prescott>
Content-Type: text/plain

I am befuddled. I am an amateur administrator trying to compile my first
C++ program. (Actually, the compile succeeded.) I tried to compile the
following two programs:

#include <iostream>
#include <stdlib.h>
int main(int argc, char *argv[]) {     cout << "hey"; return 0; }

and

#include <iostream>
#include <stdlib.h>
int main(int argc, char *argv[]) {std::cout << "hey"; return 0; }

The second compiles. The first does not. (Every presumably reliable
source I have seen says to write this as in the first case.) Can I rule
out a problem with my installation? (i.e. is this a problem with my
understanding of linux or C++?)

I compile using the command
   g++ -v filename.C

The output for the first case contains

   #include <...> search starts here:
    /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3

where iostream is located, and

   error: `cout' undeclared (first use this function)

(When I compile the second case, in runs fine.)


Craig.




------------------------------

Message: 3
Date: Mon, 26 Sep 2005 13:34:35 +0900
From: Naoki <naoki at valuecommerce.com>
Subject: Re: [rhn-users] g++
To: Red Hat Network Users List <rhn-users at redhat.com>
Message-ID: <1127709275.3353.67.camel at dragon.sys.intra>
Content-Type: text/plain

Yeah, that one bit me for a while as well.  You need to add to the first
one : "using namespace std;" and then it'll know.



On Sun, 2005-09-25 at 22:23 -0600, Craig M. Jameson wrote:
> I am befuddled. I am an amateur administrator trying to compile my first
> C++ program. (Actually, the compile succeeded.) I tried to compile the
> following two programs:
> 
> #include <iostream>
> #include <stdlib.h>
> int main(int argc, char *argv[]) {     cout << "hey"; return 0; }
> 
> and
> 
> #include <iostream>
> #include <stdlib.h>
> int main(int argc, char *argv[]) {std::cout << "hey"; return 0; }
> 
> The second compiles. The first does not. (Every presumably reliable
> source I have seen says to write this as in the first case.) Can I rule
> out a problem with my installation? (i.e. is this a problem with my
> understanding of linux or C++?)
> 
> I compile using the command
>    g++ -v filename.C
> 
> The output for the first case contains
> 
>    #include <...> search starts here:
>     /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3
> 
> where iostream is located, and
> 
>    error: `cout' undeclared (first use this function)
> 
> (When I compile the second case, in runs fine.)
> 
> 
> Craig.
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users




------------------------------

Message: 4
Date: Mon, 26 Sep 2005 08:35:31 -0600
From: "Craig M. Jameson" <cjarith at comcast.net>
Subject: Re: [rhn-users] g++
To: Red Hat Network Users List <rhn-users at redhat.com>
Message-ID: <1127745331.1092.0.camel at Prescott>
Content-Type: text/plain

Sure enough. Thanks a bunch.

Craig.


On Mon, 2005-09-26 at 13:34 +0900, Naoki wrote:
> Yeah, that one bit me for a while as well.  You need to add to the first
> one : "using namespace std;" and then it'll know.
> 
> 
> 
> On Sun, 2005-09-25 at 22:23 -0600, Craig M. Jameson wrote:
> > I am befuddled. I am an amateur administrator trying to compile my first
> > C++ program. (Actually, the compile succeeded.) I tried to compile the
> > following two programs:
> > 
> > #include <iostream>
> > #include <stdlib.h>
> > int main(int argc, char *argv[]) {     cout << "hey"; return 0; }
> > 
> > and
> > 
> > #include <iostream>
> > #include <stdlib.h>
> > int main(int argc, char *argv[]) {std::cout << "hey"; return 0; }
> > 
> > The second compiles. The first does not. (Every presumably reliable
> > source I have seen says to write this as in the first case.) Can I rule
> > out a problem with my installation? (i.e. is this a problem with my
> > understanding of linux or C++?)
> > 
> > I compile using the command
> >    g++ -v filename.C
> > 
> > The output for the first case contains
> > 
> >    #include <...> search starts here:
> >     /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3
> > 
> > where iostream is located, and
> > 
> >    error: `cout' undeclared (first use this function)
> > 
> > (When I compile the second case, in runs fine.)
> > 
> > 
> > Craig.
> > 
> > 
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
> 
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users



------------------------------

_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users

End of rhn-users Digest, Vol 19, Issue 29
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050926/a47ffced/attachment.htm>


More information about the rhn-users mailing list