🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Jerry Merz Mon, 17 Nov 2003 19:28
Password using Linux ID and Password
#67196
Author: Jerry Merz
Date: Mon, 17 Nov 2003 19:28
20 lines
1570 bytes
Is there a way to allow Server ID and Password authentication without
setting up a file using the ckpasswd command?  According to example in
man readers.conf

and man ckpasswd

auth all {
        auth: ckpasswd -d /usr/local/news/db/newsusers"
        auth: "ckpasswd -s"
}

access full {
        users: *
        newsgroups: *
}

you need to set up a newsreaders database seperate from shawdow file.

Suggestions?
Re: Password using Linux ID and Password
#67199
Author: Jeffrey M. Vinocur
Date: Tue, 18 Nov 2003 04:02
18 lines
1689 bytes
In article <3FB9211F.B571337C@execpc.com>,
Jerry Merz  <jmerz@execpc.com> wrote:
>Is there a way to allow Server ID and Password authentication without
>setting up a file using the ckpasswd command?

If you just want to use `ckpasswd -s` then you can omit the other
auth: line entirely from the example.

Is that your question?


(Note that this may be quite inadvisable, considering that news
passwords are often sent unencrypted, and with no
multiple-failed-attempt lockouts.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Password using Linux ID and Password
#67207
Author: Jerry Merz
Date: Tue, 18 Nov 2003 18:38
37 lines
2072 bytes
I have tried both

auth all {
    auth: "ckpasswd -s"
}

and

auth all {
    auth: "ckpasswd -s -f /etc/shadow"
}

without success.  It ask me for name and password but it fails
authentication.



"Jeffrey M. Vinocur" wrote:

> In article <3FB9211F.B571337C@execpc.com>,
> Jerry Merz  <jmerz@execpc.com> wrote:
> >Is there a way to allow Server ID and Password authentication without
> >setting up a file using the ckpasswd command?
>
> If you just want to use `ckpasswd -s` then you can omit the other
> auth: line entirely from the example.
>
> Is that your question?
>
> (Note that this may be quite inadvisable, considering that news
> passwords are often sent unencrypted, and with no
> multiple-failed-attempt lockouts.)
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
Re: Password using Linux ID and Password
#67209
Author: Jeffrey M. Vinocur
Date: Tue, 18 Nov 2003 18:43
14 lines
1504 bytes
In article <3FBA66EE.D984E38B@execpc.com>,
Jerry Merz  <jmerz@execpc.com> wrote:
>
>auth all {
>    auth: "ckpasswd -s"
>}

This should work.  Have you read the ckpasswd manpage about how
to set appropriate permissions on your system?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Password using Linux ID and Password
#67210
Author: Jerry Merz
Date: Tue, 18 Nov 2003 18:57
19 lines
1811 bytes
I have read the document but did not understand "make ckpasswd setgid to
some group or even even to root.  What does this mean?

"Jeffrey M. Vinocur" wrote:

> In article <3FBA66EE.D984E38B@execpc.com>,
> Jerry Merz  <jmerz@execpc.com> wrote:
> >
> >auth all {
> >    auth: "ckpasswd -s"
> >}
>
> This should work.  Have you read the ckpasswd manpage about how
> to set appropriate permissions on your system?
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
Re: Password using Linux ID and Password
#67211
Author: Jeffrey M. Vinocur
Date: Tue, 18 Nov 2003 20:58
15 lines
1674 bytes
In article <3FBA6BB2.32445DF6@execpc.com>,
Jerry Merz  <jmerz@execpc.com> wrote:
>I have read the document but did not understand "make ckpasswd setgid to
>some group or even even to root.  What does this mean?

You'll want to find a good introductory unix tutorial, I think...

A quick Google finds me this:

    http://www.start-linux.com/articles/article_132.php


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Password using Linux ID and Password
#67216
Author: Jerry Merz
Date: Wed, 19 Nov 2003 20:24
23 lines
1988 bytes
Is there a way to copy the shadow file with encrypted directory to a
different directory an point the readers.conf to the new shadow directory to
authenticate it to it?



"Jeffrey M. Vinocur" wrote:

> In article <3FBA6BB2.32445DF6@execpc.com>,
> Jerry Merz  <jmerz@execpc.com> wrote:
> >I have read the document but did not understand "make ckpasswd setgid to
> >some group or even even to root.  What does this mean?
>
> You'll want to find a good introductory unix tutorial, I think...
>
> A quick Google finds me this:
>
>     http://www.start-linux.com/articles/article_132.php
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
Re: Password using Linux ID and Password
#67217
Author: Jeffrey M. Vinocur
Date: Wed, 19 Nov 2003 23:36
17 lines
1805 bytes
In article <3FBBD290.248151C0@execpc.com>,
Jerry Merz  <jmerz@execpc.com> wrote:
>Is there a way to copy the shadow file with encrypted directory to a
>different directory an point the readers.conf to the new shadow directory to
>authenticate it to it?

Uh, if your system's shadowed password file looks like a regular
Unix password file (username : crypted pass), then you can copy
it however you like and use `ckpasswd -f`.

Of course, this won't notice any new accounts added, or passwords
changed.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads