Ctrl-M in my system-auth file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I suggest without the '\r' in the sed line.

$perl -p -e 's/^M//g' < file_with_ctrl-M > file_without_ctrlM

Regards,

[]s Nelson Junior
nelson@lunenetworks.com.br
nelson@LUNE.com.br

----- Original Message -----
From: "KTSuresh" <kt@gwcmail.com>
To: <pam-list@redhat.com>
Sent: Friday, June 28, 2002 7:18 PM
Subject: Re: Ctrl-M in my system-auth file?


>
> Most likely u tried some dos editors to edit and save the file. Try this
>
> $perl -p -e 's/^M/\r/g' < file_with_ctrl-M > file_without_ctrlM
>
> 6/28/2002 4:06:52 PM, Alan Womack <arwbackup@worldnet.att.net> wrote:
>
> >While continuing work on the ssh problem and putting my pam back
together,
> I ran into this one this morning.
> >
> >Jun 28 07:34:55 Webby login: PAM [dlerror:
/lib/security/pam_nologin.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:34:55 Webby login: PAM adding faulty module:
> /lib/security/pam_nologin.so^M
> >Jun 28 07:34:55 Webby login: PAM unable to dlopen
> (/lib/security/pam_pwdb.so^M)
> >Jun 28 07:34:55 Webby login: PAM [dlerror: /lib/security/pam_pwdb.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:34:55 Webby login: PAM adding faulty module:
> /lib/security/pam_pwdb.so^M
> >Jun 28 07:34:55 Webby login: PAM unable to dlopen
> (/lib/security/pam_cracklib.so^M)
> >Jun 28 07:34:55 Webby login: PAM [dlerror:
/lib/security/pam_cracklib.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:34:55 Webby login: PAM adding faulty module:
> /lib/security/pam_cracklib.so^M
> >Jun 28 07:34:55 Webby login: PAM unable to dlopen
> (/lib/security/pam_console.so^M)
> >Jun 28 07:34:55 Webby login: PAM [dlerror:
/lib/security/pam_console.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:34:55 Webby login: PAM adding faulty module:
> /lib/security/pam_console.so^M
> >Jun 28 07:34:55 Webby PAM_pwdb[28809]: unrecognized option [nullok^M]
> >Jun 28 07:34:58 Webby login[28809]: FAILED LOGIN SESSION FROM (null)
> FOR Alan, Module is unknown
> >Jun 28 07:35:40 Webby login: PAM unable to dlopen
> (/lib/security/pam_securetty.so^M)
> >Jun 28 07:35:40 Webby login: PAM [dlerror:
> /lib/security/pam_securetty.so^M: cannot open shared object file: No such
file
> or directory]
> >Jun 28 07:35:40 Webby login: PAM adding faulty module:
> /lib/security/pam_securetty.so^M
> >Jun 28 07:35:40 Webby login: PAM unable to dlopen
> (/lib/security/pam_nologin.so^M)
> >Jun 28 07:35:40 Webby login: PAM [dlerror:
/lib/security/pam_nologin.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:35:40 Webby login: PAM adding faulty module:
> /lib/security/pam_nologin.so^M
> >Jun 28 07:35:40 Webby login: PAM unable to dlopen
> (/lib/security/pam_pwdb.so^M)
> >Jun 28 07:35:40 Webby login: PAM [dlerror: /lib/security/pam_pwdb.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:35:40 Webby login: PAM adding faulty module:
> /lib/security/pam_pwdb.so^M
> >Jun 28 07:35:40 Webby login: PAM unable to dlopen
> (/lib/security/pam_cracklib.so^M)
> >Jun 28 07:35:40 Webby login: PAM [dlerror:
/lib/security/pam_cracklib.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:35:40 Webby login: PAM adding faulty module:
> /lib/security/pam_cracklib.so^M
> >Jun 28 07:35:40 Webby login: PAM unable to dlopen
> (/lib/security/pam_console.so^M)
> >Jun 28 07:35:40 Webby login: PAM [dlerror:
/lib/security/pam_console.so^M:
> cannot open shared object file: No such file or directory]
> >Jun 28 07:35:40 Webby login: PAM adding faulty module:
> /lib/security/pam_console.so^M
> >Jun 28 07:35:40 Webby PAM_pwdb[28812]: unrecognized option [nullok^M]
> >Jun 28 07:35:42 Webby login[28812]: FAILED LOGIN SESSION FROM (null)
> FOR Alan, Module is unknown
> >
> >I ran the redhat authconfig file to make the system-auth file, so I
wouldn't
> expect it to have control M's in it.
> >
> >I also ran the file through:
> >
> >cat system-auth | tr -d "\r" system-auth.new
> >
> >Any ideas on that one?
> >
> >
> >
> >_______________________________________________
> >
> >Pam-list@redhat.com
> >https://listman.redhat.com/mailman/listinfo/pam-list
> >
>
>
>
>
>
> _______________________________________________
> 
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list
>





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux