*BSD News Article 65966


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!bug.rahul.net!rahul.net!a2i!genmagic!sgigate.sgi.com!uhog.mit.edu!news.mathworks.com!solaris.cc.vt.edu!jmurray
From: jmurray@vt.edu (John Murray)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: su / passwd problem on 2.1
Date: 15 Apr 1996 19:57:58 GMT
Organization: Virginia Tech
Lines: 21
Message-ID: <4ku9o6$mbs@solaris.cc.vt.edu>
NNTP-Posting-Host: jmurray.async.vt.edu

I am having a problem with the passwd command.  When I log in to X an do a
passwd it works, But if I su to another(non-root) user then run the passwd
program the following error is shown:

passwd: Permission denied

Why am I getting this error, passwd is setuid root so permissions should not
be a problem.  Also if the users login as them selves(instead of su) then
passwd works. Is there a reason for this is this a legitimate feature or a
unknown "feature", and is there a fix?

TIA


-- 
	 Person Man aka John Murray -={+}=- <jmurray@vt.edu>
 		     http://jmurray.async.vt.edu/
 	The Unoffical Pritchard Web Site & Mailing List Admin
 	Check it out @ http://jmurray.async.vt.edu/pritchard/
 	      Powered By FreeBSD http://www.freebsd.org
  "I don't know whether I'd rather be having a bottle of vinegar" -TMBG