🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #283

su shows password on screen and doesn't ever stop

#283
From: J.B. Nicholson-Owens
Date: Wed, 29 Jul 1992 00:26
23 lines
1283 bytes
When a user in group wheel types 'su', the program actually shows the
password they type and if it is not correct doesn't print "Sorry." and
stop, it just hangs.  No shell, ^C won't get out of it, and the whole
shell window must be closed to stop it.  Is there a way to fix this?

Also, what should /bin/su be linked to if:

* only users in group wheel should su to anyone,

* even if those users can't get the root password right, they
  shouldn't be allowed to switch to root,

* if they don't get it right su prints "Sorry." as it is supposed to

* and finally what should the other su.{wheel,nowheel} (whichever one
  should NOT be 'su' or linked to 'su') do or be?  Should it just be
  removed from the system or chmod'ed so nobody can actually do anything
  with it?

Thanks for all your help.
-- 
-- Jeff (jeffo@ux1.cso.uiuc.edu)
-- No NeXTmail please
Technical Details
Message-ID: <Bs4Jx2.8C5@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!wupost!sdd.hp.com!ux1.cso.uiuc.edu!jeffo

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!darwin.sura.net!wupost!sdd.hp.com!ux1.cso.uiuc.edu!jeffo
From: jeffo@ux1.cso.uiuc.edu (J.B. Nicholson-Owens)
Subject: su shows password on screen and doesn't ever stop
Message-ID: <Bs4Jx2.8C5@ux1.cso.uiuc.edu>
Reply-To: jeffo@ux1.cso.uiuc.edu
Organization: University of Illinois at Urbana
Date: Wed, 29 Jul 1992 00:26:48 GMT
Lines: 23