<DIV><FONT face=verdana>Sudhanshu,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=verdana>If it doesn't work correctly (authconfig) , you can change something in <STRONG><EM>/etc/nsswitch.conf</EM> </STRONG>file</FONT><FONT face=verdana>.</FONT></DIV>
<DIV><FONT face=Verdana>It looks like :</FONT></DIV>
<DIV><FONT face=Verdana></FONT> </DIV>
<DIV><FONT face=verdana>[root@xyz ~]# more /etc/nsswitch.conf<BR>#<BR># /etc/nsswitch.conf<BR>#<BR># An example Name Service Switch config file. This file should be<BR># sorted with the most-used services at the beginning.<BR>#<BR># The entry '[NOTFOUND=return]' means that the search for an<BR># entry should stop if the search in the previous entry turned<BR># up nothing. Note that if the search failed due to some other reason<BR># (like no NIS server responding) then the search continues with the<BR># next entry.<BR>#<BR># Legal entries are:<BR>#<BR>#       nisplus or nis+         Use NIS+ (NIS version 3)<BR>#       nis or yp               Use NIS (NIS version 2), also called YP<BR>#      
 dns                     Use DNS (Domain Name Service)<BR>#       files                   Use the local files<BR>#       db                      Use the local database (.db) files<BR>#       compat                  Use NIS on compat mode<BR>#       hesiod                  Use Hesiod for user lookups<BR>#       [NOTFOUND=return]       Stop sea!
rching if
 not found so far<BR>#</FONT></DIV>
<DIV><FONT face=verdana># To use db, put the "db" in front of "files" for entries you want to be<BR># looked up first in the databases<BR>#<BR># Example:<BR>#passwd:    db files nisplus nis<BR>#shadow:    db files nisplus nis<BR>#group:     db files nisplus nis</FONT></DIV>
<DIV><FONT face=verdana>passwd:     files<BR>shadow:     files<BR>group:      files</FONT></DIV>
<DIV><FONT face=verdana>#hosts:     db files nisplus nis dns<BR>hosts:      files dns</FONT></DIV>
<DIV><FONT face=verdana># Example - obey only what nisplus tells us...<BR>#services:   nisplus [NOTFOUND=return] files<BR>#networks:   nisplus [NOTFOUND=return] files<BR>#protocols:  nisplus [NOTFOUND=return] files<BR>#rpc:        nisplus [NOTFOUND=return] files<BR>#ethers:     nisplus [NOTFOUND=return] files<BR>#netmasks:   nisplus [NOTFOUND=return] files     </FONT></DIV>
<DIV><FONT face=verdana>bootparams: nisplus [NOTFOUND=return] files</FONT></DIV>
<DIV><FONT face=verdana>ethers:     files<BR>netmasks:   files<BR>networks:   files<BR>protocols:  files<BR>rpc:        files<BR>services:   files</FONT></DIV>
<DIV><FONT face=verdana>netgroup:   files</FONT></DIV>
<DIV><FONT face=verdana>publickey:  nisplus</FONT></DIV>
<DIV><FONT face=verdana>automount:  files<BR>aliases:    files nisplus</FONT></DIV>
<DIV><FONT face=verdana>[root@xyz ~]# </FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=verdana color=#0060bf>lynos</FONT></DIV>
<DIV><FONT face=verdana color=#0060bf>===============</FONT></DIV>
<DIV><FONT face=verdana color=#0060bf>RHCE , SCSA / Istanbul , Türkiye</FONT></DIV>
<DIV><STRONG><EM></EM></STRONG> </DIV>
<DIV><STRONG><EM></EM></STRONG> </DIV>
<DIV><STRONG><EM></EM></STRONG> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><B><I>sudhanshu chopra <sid_prodigy@hotmail.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi Frazier,<BR><BR>It is still not working.After changing the execution bit ,it says <BR>"Permission denied" to root.And im not able<BR>to run "authconfig" command.<BR>What should be done.plz help me out.<BR><BR>Regards<BR>Sudhanshu chopra<BR><BR><BR>>From: "Frazier, Darrell USA CRC (Contractor)" <BR>><DARRELL.FRAZIER@CRC.ARMY.MIL><BR>>Reply-To: Red Hat Network Users List <RHN-USERS@REDHAT.COM><BR>>To: "'rhn-users@redhat.com'" <RHN-USERS@REDHAT.COM><BR>>Subject: RE:[rhn-users] Authconfig Problem<BR>>Date: Mon, 26 Sep 2005 11:11:15 -0500<BR>><BR>>When configuring PAM. It is customary to take the execution bit off the<BR>>binary so that the system-auth file isn't overwritten:<BR>><BR>>As root:<BR>><BR>>chmod 600 /usr/sbin/authconfig<BR>>chmod 600 /usr/bin/authconfig<BR>><BR>>Hope this
 helps.<BR>><BR>>Darrell<BR>><BR>>-----Original Message-----<BR>>From: rhn-users-request@redhat.com [mailto:rhn-users-request@redhat.com]<BR>>Sent: Monday, September 26, 2005 11:00 AM<BR>>To: rhn-users@redhat.com<BR>>Subject: rhn-users Digest, Vol 19, Issue 29<BR>><BR>>Send rhn-users mailing list submissions to<BR>> rhn-users@redhat.com<BR>><BR>>To subscribe or unsubscribe via the World Wide Web, visit<BR>> https://www.redhat.com/mailman/listinfo/rhn-users<BR>>or, via email, send a message with subject or body 'help' to<BR>> rhn-users-request@redhat.com<BR>><BR>>You can reach the person managing the list at<BR>> rhn-users-owner@redhat.com<BR>><BR>>When replying, please edit your Subject line so it is more specific<BR>>than "Re: Contents of rhn-users digest..."<BR>><BR>><BR>>Today's Topics:<BR>><BR>> 1. Authconfig Problem (sudhanshu chopra)<BR>> 2. g++ (Craig M. Jameson)<BR>> 3. Re: g++
 (Naoki)<BR>> 4. Re: g++ (Craig M. Jameson)<BR>><BR>><BR>>----------------------------------------------------------------------<BR>><BR>>Message: 1<BR>>Date: Sun, 25 Sep 2005 22:49:00 +0530<BR>>From: "sudhanshu chopra" <SID_PRODIGY@HOTMAIL.COM><BR>>Subject: [rhn-users] Authconfig Problem<BR>>To: rhn-users@redhat.com<BR>>Message-ID: <BAY23-F6FA3DE61AEB5B63303E6C90880@PHX.GBL><BR>>Content-Type: text/plain; format=flowed<BR>><BR>>hello friends,<BR>><BR>>i'm presently configuring pam.Whenever i run authconfig command,my<BR>>/etc/pam.d/sytem-auth file is regenerated.<BR>>What can be done so that whenever i run authconfig command my<BR>>/etc/pam.d/system-auth file is not changed?<BR>><BR>>waiting for ur reply.<BR>>thanks you<BR>><BR>>Regards<BR>>Sudhanshu Chopra<BR>><BR>>_________________________________________________________________<BR>>Repay your personal loan on your own
 terms.<BR>>http://www.hsbc.co.in/script/in/common/redirect.asp?redirectto=/in/personal/<BR>>loans/perloan.htm<BR>>With HSBC's MyTerms Credit<BR>><BR>><BR>><BR>>------------------------------<BR>><BR>>Message: 2<BR>>Date: Sun, 25 Sep 2005 22:23:43 -0600<BR>>From: "Craig M. Jameson" <CJARITH@COMCAST.NET><BR>>Subject: [rhn-users] g++<BR>>To: rhn-users@redhat.com<BR>>Message-ID: <1127708623.31028.26.camel@Prescott><BR>>Content-Type: text/plain<BR>><BR>>I am befuddled. I am an amateur administrator trying to compile my first<BR>>C++ program. (Actually, the compile succeeded.) I tried to compile the<BR>>following two programs:<BR>><BR>>#include <IOSTREAM><BR>>#include <STDLIB.H><BR>>int main(int argc, char *argv[]) { cout << "hey"; return 0; }<BR>><BR>>and<BR>><BR>>#include <IOSTREAM><BR>>#include <STDLIB.H><BR>>int main(int argc, char *argv[]) {std::cout << "hey"; return 0;
 }<BR>><BR>>The second compiles. The first does not. (Every presumably reliable<BR>>source I have seen says to write this as in the first case.) Can I rule<BR>>out a problem with my installation? (i.e. is this a problem with my<BR>>understanding of linux or C++?)<BR>><BR>>I compile using the command<BR>> g++ -v filename.C<BR>><BR>>The output for the first case contains<BR>><BR>> #include <...> search starts here:<BR>> /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3<BR>><BR>>where iostream is located, and<BR>><BR>> error: `cout' undeclared (first use this function)<BR>><BR>>(When I compile the second case, in runs fine.)<BR>><BR>><BR>>Craig.<BR>><BR>><BR>><BR>><BR>>------------------------------<BR>><BR>>Message: 3<BR>>Date: Mon, 26 Sep 2005 13:34:35 +0900<BR>>From: Naoki <NAOKI@VALUECOMMERCE.COM><BR>>Subject: Re: [rhn-users] g++<BR>>To: Red Hat Network !
Users
 List <RHN-USERS@REDHAT.COM><BR>>Message-ID: <1127709275.3353.67.camel@dragon.sys.intra><BR>>Content-Type: text/plain<BR>><BR>>Yeah, that one bit me for a while as well. You need to add to the first<BR>>one : "using namespace std;" and then it'll know.<BR>><BR>><BR>><BR>>On Sun, 2005-09-25 at 22:23 -0600, Craig M. Jameson wrote:<BR>> > I am befuddled. I am an amateur administrator trying to compile my first<BR>> > C++ program. (Actually, the compile succeeded.) I tried to compile the<BR>> > following two programs:<BR>> ><BR>> > #include <IOSTREAM><BR>> > #include <STDLIB.H><BR>> > int main(int argc, char *argv[]) { cout << "hey"; return 0; }<BR>> ><BR>> > and<BR>> ><BR>> > #include <IOSTREAM><BR>> > #include <STDLIB.H><BR>> > int main(int argc, char *argv[]) {std::cout << "hey"; return 0; }<BR>> ><BR>> > The second compiles. The first does no!
t. (Every
 presumably reliable<BR>> > source I have seen says to write this as in the first case.) Can I rule<BR>> > out a problem with my installation? (i.e. is this a problem with my<BR>> > understanding of linux or C++?)<BR>> ><BR>> > I compile using the command<BR>> > g++ -v filename.C<BR>> ><BR>> > The output for the first case contains<BR>> ><BR>> > #include <...> search starts here:<BR>> > /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3<BR>> ><BR>> > where iostream is located, and<BR>> ><BR>> > error: `cout' undeclared (first use this function)<BR>> ><BR>> > (When I compile the second case, in runs fine.)<BR>> ><BR>> ><BR>> > Craig.<BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > rhn-users mailing list<BR>> > rhn-users@redhat.com<BR>> >
 https://www.redhat.com/mailman/listinfo/rhn-users<BR>><BR>><BR>><BR>><BR>>------------------------------<BR>><BR>>Message: 4<BR>>Date: Mon, 26 Sep 2005 08:35:31 -0600<BR>>From: "Craig M. Jameson" <CJARITH@COMCAST.NET><BR>>Subject: Re: [rhn-users] g++<BR>>To: Red Hat Network Users List <RHN-USERS@REDHAT.COM><BR>>Message-ID: <1127745331.1092.0.camel@Prescott><BR>>Content-Type: text/plain<BR>><BR>>Sure enough. Thanks a bunch.<BR>><BR>>Craig.<BR>><BR>><BR>>On Mon, 2005-09-26 at 13:34 +0900, Naoki wrote:<BR>> > Yeah, that one bit me for a while as well. You need to add to the first<BR>> > one : "using namespace std;" and then it'll know.<BR>> ><BR>> ><BR>> ><BR>> > On Sun, 2005-09-25 at 22:23 -0600, Craig M. Jameson wrote:<BR>> > > I am befuddled. I am an amateur administrator trying to compile my <BR>>first<BR>> > > C++ program. (Actually, the compile succe!
eded.) I
 tried to compile the<BR>> > > following two programs:<BR>> > ><BR>> > > #include <IOSTREAM><BR>> > > #include <STDLIB.H><BR>> > > int main(int argc, char *argv[]) { cout << "hey"; return 0; }<BR>> > ><BR>> > > and<BR>> > ><BR>> > > #include <IOSTREAM><BR>> > > #include <STDLIB.H><BR>> > > int main(int argc, char *argv[]) {std::cout << "hey"; return 0; }<BR>> > ><BR>> > > The second compiles. The first does not. (Every presumably reliable<BR>> > > source I have seen says to write this as in the first case.) Can I <BR>>rule<BR>> > > out a problem with my installation? (i.e. is this a problem with my<BR>> > > understanding of linux or C++?)<BR>> > ><BR>> > > I compile using the command<BR>> > > g++ -v filename.C<BR>> > ><BR>> > > The output for the first case contains<BR>> !
>
 ><BR>> > > #include <...> search starts here:<BR>> > > /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3<BR>> > ><BR>> > > where iostream is located, and<BR>> > ><BR>> > > error: `cout' undeclared (first use this function)<BR>> > ><BR>> > > (When I compile the second case, in runs fine.)<BR>> > ><BR>> > ><BR>> > > Craig.<BR>> > ><BR>> > ><BR>> > > _______________________________________________<BR>> > > rhn-users mailing list<BR>> > > rhn-users@redhat.com<BR>> > > https://www.redhat.com/mailman/listinfo/rhn-users<BR>> ><BR>> ><BR>> > _______________________________________________<BR>> > rhn-users mailing list<BR>> > rhn-users@redhat.com<BR>> >
 https://www.redhat.com/mailman/listinfo/rhn-users<BR>><BR>><BR>><BR>>------------------------------<BR>><BR>>_______________________________________________<BR>>rhn-users mailing list<BR>>rhn-users@redhat.com<BR>>https://www.redhat.com/mailman/listinfo/rhn-users<BR>><BR>>End of rhn-users Digest, Vol 19, Issue 29<BR>>*****************************************<BR><BR><BR>>_______________________________________________<BR>>rhn-users mailing list<BR>>rhn-users@redhat.com<BR>>https://www.redhat.com/mailman/listinfo/rhn-users<BR><BR>_________________________________________________________________<BR>Now or Never special offer for NRIs! <BR>http://creative.mediaturf.net/creatives/citibankrca/rca_msntagofline.htm <BR>Zero balance Account from Citibank!<BR><BR>_______________________________________________<BR>rhn-users mailing
 list<BR>rhn-users@redhat.com<BR>https://www.redhat.com/mailman/listinfo/rhn-users<BR></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com