*BSD News Article 95478


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!news.telstra.net!psgrain!iafrica.com!bowl.news.pipex.net!pipex!plug.news.pipex.net!pipex!burn.news.pipex.net!pipex!warm.news.pipex.net!pipex!weld.news.pipex.net!pipex!uk-po.com!usenet
From: Robert Hopewell <hopewelr@it.postoffice.co.uk>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: skey over the network but not on console ?
Date: Fri, 16 May 1997 09:49:37 +0100
Organization: The Post Office
Lines: 31
Message-ID: <337C1FA1.313C@it.postoffice.co.uk>
NNTP-Posting-Host: 144.87.16.135
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (WinNT; I)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6882

Hi,
I am trying to make users logging in over the network or suing over the network use skey 
authentication, however if logging in from the console to allow plain text passwords. (I have seen 
postings about this in the archive, but no answers on how to do it).

Under version 2.1, I have tried to do this by editing the following lines in /etc/ttys to read:

ttyp0   none    network auth-network
ttyp1 etc.

and then to add lines into /etc/login.conf so that the default is as follows:

default:\
        :tc=auth-bsdi-defaults:\
        :auth-network=skey:\
        :auth-su=key:

Whilst at first  this all appears to work fine, entering "su -a passwd" root still allows the user 
to use text passwords to su .
Am I doing something wrong or is this a bug in su ? Any help or suggestion on how
to do this  would be greatly appreciated.
TIA,
Rob.




==============================================================================
Robert Hopewell - Unix Technical support - iT The post office (01246 214786)
These views are my own and do not necessarily reflect those of the Post office
==============================================================================