<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE:[rhn-users] Authconfig Problem</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>When configuring PAM. It is customary to take the execution bit off the binary so that the system-auth file isn't overwritten:</FONT></P>

<P><FONT SIZE=2>As root:</FONT>
</P>

<P><FONT SIZE=2>chmod 600 /usr/sbin/authconfig</FONT>
<BR><FONT SIZE=2>chmod 600 /usr/bin/authconfig</FONT>
</P>

<P><FONT SIZE=2>Hope this helps.</FONT>
</P>

<P><FONT SIZE=2>Darrell</FONT>
</P>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: rhn-users-request@redhat.com [<A HREF="mailto:rhn-users-request@redhat.com">mailto:rhn-users-request@redhat.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: Monday, September 26, 2005 11:00 AM</FONT>
<BR><FONT SIZE=2>To: rhn-users@redhat.com</FONT>
<BR><FONT SIZE=2>Subject: rhn-users Digest, Vol 19, Issue 29</FONT>
</P>

<P><FONT SIZE=2>Send rhn-users mailing list submissions to</FONT>
<BR>        <FONT SIZE=2>rhn-users@redhat.com</FONT>
</P>

<P><FONT SIZE=2>To subscribe or unsubscribe via the World Wide Web, visit</FONT>
<BR>        <FONT SIZE=2><A HREF="https://www.redhat.com/mailman/listinfo/rhn-users" TARGET="_blank">https://www.redhat.com/mailman/listinfo/rhn-users</A></FONT>
<BR><FONT SIZE=2>or, via email, send a message with subject or body 'help' to</FONT>
<BR>        <FONT SIZE=2>rhn-users-request@redhat.com</FONT>
</P>

<P><FONT SIZE=2>You can reach the person managing the list at</FONT>
<BR>        <FONT SIZE=2>rhn-users-owner@redhat.com</FONT>
</P>

<P><FONT SIZE=2>When replying, please edit your Subject line so it is more specific</FONT>
<BR><FONT SIZE=2>than "Re: Contents of rhn-users digest..."</FONT>
</P>
<BR>

<P><FONT SIZE=2>Today's Topics:</FONT>
</P>

<P><FONT SIZE=2>   1. Authconfig Problem (sudhanshu chopra)</FONT>
<BR><FONT SIZE=2>   2. g++ (Craig M. Jameson)</FONT>
<BR><FONT SIZE=2>   3. Re: g++ (Naoki)</FONT>
<BR><FONT SIZE=2>   4. Re: g++ (Craig M. Jameson)</FONT>
</P>
<BR>

<P><FONT SIZE=2>----------------------------------------------------------------------</FONT>
</P>

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

<P><FONT SIZE=2>hello friends,</FONT>
</P>

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

<P><FONT SIZE=2>waiting for ur reply.</FONT>
<BR><FONT SIZE=2>thanks you</FONT>
</P>

<P><FONT SIZE=2>Regards</FONT>
<BR><FONT SIZE=2>Sudhanshu Chopra</FONT>
</P>

<P><FONT SIZE=2>_________________________________________________________________</FONT>
<BR><FONT SIZE=2>Repay your personal loan on your own terms. </FONT>
<BR><FONT SIZE=2><A HREF="http://www.hsbc.co.in/script/in/common/redirect.asp?redirectto=/in/personal/loans/perloan.htm" TARGET="_blank">http://www.hsbc.co.in/script/in/common/redirect.asp?redirectto=/in/personal/loans/perloan.htm</A> </FONT>
<BR><FONT SIZE=2>With HSBC's MyTerms Credit</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>------------------------------</FONT>
</P>

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

<P><FONT SIZE=2>I am befuddled. I am an amateur administrator trying to compile my first</FONT>
<BR><FONT SIZE=2>C++ program. (Actually, the compile succeeded.) I tried to compile the</FONT>
<BR><FONT SIZE=2>following two programs:</FONT>
</P>

<P><FONT SIZE=2>#include <iostream></FONT>
<BR><FONT SIZE=2>#include <stdlib.h></FONT>
<BR><FONT SIZE=2>int main(int argc, char *argv[]) {     cout << "hey"; return 0; }</FONT>
</P>

<P><FONT SIZE=2>and</FONT>
</P>

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

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

<P><FONT SIZE=2>I compile using the command</FONT>
<BR><FONT SIZE=2>   g++ -v filename.C</FONT>
</P>

<P><FONT SIZE=2>The output for the first case contains</FONT>
</P>

<P><FONT SIZE=2>   #include <...> search starts here:</FONT>
<BR><FONT SIZE=2>    /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3</FONT>
</P>

<P><FONT SIZE=2>where iostream is located, and</FONT>
</P>

<P><FONT SIZE=2>   error: `cout' undeclared (first use this function)</FONT>
</P>

<P><FONT SIZE=2>(When I compile the second case, in runs fine.)</FONT>
</P>
<BR>

<P><FONT SIZE=2>Craig.</FONT>
</P>
<BR>
<BR>
<BR>

<P><FONT SIZE=2>------------------------------</FONT>
</P>

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

<P><FONT SIZE=2>Yeah, that one bit me for a while as well.  You need to add to the first</FONT>
<BR><FONT SIZE=2>one : "using namespace std;" and then it'll know.</FONT>
</P>
<BR>
<BR>

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

<P><FONT SIZE=2>------------------------------</FONT>
</P>

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

<P><FONT SIZE=2>Sure enough. Thanks a bunch.</FONT>
</P>

<P><FONT SIZE=2>Craig.</FONT>
</P>
<BR>

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

<P><FONT SIZE=2>------------------------------</FONT>
</P>

<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>rhn-users mailing list</FONT>
<BR><FONT SIZE=2>rhn-users@redhat.com</FONT>
<BR><FONT SIZE=2><A HREF="https://www.redhat.com/mailman/listinfo/rhn-users" TARGET="_blank">https://www.redhat.com/mailman/listinfo/rhn-users</A></FONT>
</P>

<P><FONT SIZE=2>End of rhn-users Digest, Vol 19, Issue 29</FONT>
<BR><FONT SIZE=2>*****************************************</FONT>
</P>

</BODY>
</HTML>