[57] in linux-security and linux-alert archive

home help back first fref pref prev next nref lref last post

Anyone get Sudo working w/ Shadow?

daemon@ATHENA.MIT.EDU (Rob Hardy)
Tue Mar 7 22:53:11 1995

Date: Tue, 7 Mar 1995 12:17:05 -0500 (EST)
From: Rob Hardy <ccscon26@ccs.carleton.ca>
To: linux-security@tarsier.cv.nrao.edu
In-Reply-To: <199503071157.GAA03124@tarsier.cv.nrao.edu>
Reply-To: linux-security@tarsier.cv.nrao.edu

[Mod: Please see note at end--it's from an e-mail between us and
clarifies the question that he's asking a bit better.  (Sounds like
sloppy code somewhere to me.) --Jeff.]

I've been trying for awhile to get sudo to work with shadow passwords.
The package says it already supports shadow but it doesn't work.
When I recompile the sudo I get a warning on the line where the actual 
checking of the password occurs. That's line 243 of check.c. The warning 
is something like attempting to set a pointer to an integer without a cast.

Has anyone got this working? Can someone fix this problem? I'd be glad to 
mail anyone check.c if anyone can spare 2 minutes to check it out.

--
-----------------------------------------------------------------------
Robert Hardy  		Home:(613)226-2326      CCS Computer Consultant
  2nd Year Systems Engineering @ Carleton University, Ottawa, Canada
     Email: (robert@doe|robert@aurora|aa617@freenet)+.carleton.ca
              "Linux the Choice of a GNU Generation!"
-----------------------------------------------------------------------


[Some additional information]

[T]he compile doesn't fail.  [...]  [T]he warning is on the line where
the comparision occurs. Since sudo fails to do the comparison properly
w/ shadow it seem to be a likely place for the problem to be.

I'd still like to know whether anyone has gotten sudo working with
shadow password which was really the whole point of posting it to the
security list.

home help back first fref pref prev next nref lref last post