🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by tin Tue, 22 May 2001 19:31
ckpasswd question
#52430
Author: tin
Date: Tue, 22 May 2001 19:31
38 lines
2122 bytes
how to setup INN News server using
username password Auth?
and how to kill the post ?

i have a question about ckpasswd,
i think i cannot call up ckpasswd to check my
shadow file

can you teach me how?

ckpasswd -s  Check passwords against the result of getspnam(3) instead of
                   getpwnam(3).  This function, on those
                   systems that supports it, reads from /etc/shadow or
similar more
                   restricted files.  If you want to
                  check passwords supplied to nnrpd(8) against system
account
                  passwords, you will probably have to use
                  this option on most systems.

Most systems require special privileges to call getspnam(3), so
             in order to use this option you may
             need to make ckpasswd setgid to some group (like group
"shadow")
             or even setuid root.  ckpasswd has
             not been specifically audited for such uses!  It is, however, a
             very small program that you should be
             able to check by hand for security.

i dont understand this mean (is that mean groupadd shadow , chgrp shadow
ckpasswd, chmod g+s ckpasswd)



tin@tinwong.com


Re: ckpasswd question
#52432
Author: Jeffrey M. Vinocur
Date: Tue, 22 May 2001 20:41
27 lines
1815 bytes
In article <3b0abec2$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com> wrote:
>
>i have a question about ckpasswd,
>i think i cannot call up ckpasswd to check my
>shadow file

What is your operating system?


>i dont understand this mean (is that mean groupadd shadow , chgrp shadow
>ckpasswd, chmod g+s ckpasswd)

You don't want to add a 'shadow' group -- those instructions are
appropriate if there is a group on your system with permission to
read the shadowed password file.  If there is no such group, you
could either create one or make ckpasswd SUID root.

Please be warned that using `ckpasswd -s` is often a bad idea --
it encourages sending passwords unencrypted over the network, and
in addition does not handle logon failures in the same way that
the rest of your system does.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: ckpasswd question
#52442
Author: tin
Date: Wed, 23 May 2001 07:35
37 lines
2016 bytes
ok
is i have to chgrp root ckpasswd , chmod g+s ckpasswd?



"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9eeite$vg4$2@marduk.litech.org...
> In article <3b0abec2$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com>
wrote:
> >
> >i have a question about ckpasswd,
> >i think i cannot call up ckpasswd to check my
> >shadow file
>
> What is your operating system?
>
>
> >i dont understand this mean (is that mean groupadd shadow , chgrp shadow
> >ckpasswd, chmod g+s ckpasswd)
>
> You don't want to add a 'shadow' group -- those instructions are
> appropriate if there is a group on your system with permission to
> read the shadowed password file.  If there is no such group, you
> could either create one or make ckpasswd SUID root.
>
> Please be warned that using `ckpasswd -s` is often a bad idea --
> it encourages sending passwords unencrypted over the network, and
> in addition does not handle logon failures in the same way that
> the rest of your system does.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: ckpasswd question
#52465
Author: Jeffrey M. Vinocur
Date: Wed, 23 May 2001 17:12
13 lines
1344 bytes
In article <3b0b686c$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com> wrote:
>
>is i have to chgrp root ckpasswd , chmod g+s ckpasswd?

That would be SGID, not SUID.  We won't be able to tell you
if that will work unless you say what operating system you are
using.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: ckpasswd question
#52474
Author: tin
Date: Wed, 23 May 2001 20:03
21 lines
1480 bytes
i using RH7.1 Linux


"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9egr14$ic7$1@marduk.litech.org...
> In article <3b0b686c$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com>
wrote:
> >
> >is i have to chgrp root ckpasswd , chmod g+s ckpasswd?
>
> That would be SGID, not SUID.  We won't be able to tell you
> if that will work unless you say what operating system you are
> using.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: ckpasswd question
#52494
Author: Jeffrey M. Vinocur
Date: Thu, 24 May 2001 01:59
10 lines
1214 bytes
In article <3b0c17a7$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com> wrote:
>i using RH7.1 Linux

Are you using PAM?


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: ckpasswd question
#52495
Author: tin
Date: Thu, 24 May 2001 11:50
18 lines
1349 bytes
yes i using PAM


"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:9ehpua$if7$1@marduk.litech.org...
> In article <3b0c17a7$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com>
wrote:
> >i using RH7.1 Linux
>
> Are you using PAM?
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org


Re: ckpasswd question
#52497
Author: Jeffrey M. Vinocur
Date: Thu, 24 May 2001 13:43
12 lines
1344 bytes
In article <3b0cf5af$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com> wrote:
>yes i using PAM

Please go to http://groups.google.com/ and read the very recent
discussion about PAM (with the past two weeks, look for 
Graeme Mathieson's post).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: ckpasswd question
#52507
Author: tin
Date: Fri, 25 May 2001 05:23
28 lines
1894 bytes
may i know where can find more information
howto install it?

"Graeme Mathieson" <graeme+usenet@mathie.cx> wrote in message
news:87d78yvjbj.fsf@homer.mathie.cx...
> jeff@litech.org (Jeffrey M. Vinocur) writes:
>
> > In article <3b0cf5af$1@newsgate.hknet.com>, tin <wong_tin@hotmail.com>
wrote:
> > >yes i using PAM
> >
> > Please go to http://groups.google.com/ and read the very recent
> > discussion about PAM (with the past two weeks, look for
> > Graeme Mathieson's post).
>
> ... which basically says you can grab a PAM version of ckpasswd at:
>
> http://www.mathie.cx/~graeme/pamckpasswd.shar
>
> Let me know how you get on with it.
> --
> graeme+sig@mathie.cx
http://www.mathie.cx/~graeme/
>
> "Life's not fair," I reply. "But the root password helps." - BOFH


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