Date: Tue, 11 Nov 1997 18:14:52 +0100 (MET) From: Zoltan Sebestyen <sebesty@cs.elte.hu> To: FreeBSD questions mailinglist <freebsd-questions@freebsd.org> Subject: passwd: permission denied Message-ID: <Pine.LNX.3.95.971111180440.26130A-100000@neumann.cs.elte.hu>
next in thread | raw e-mail | index | archive | help
Hi,
When I try to change my password with passwd it reports 'permission
denied'. Just an hour before, I discovered that the account of mine is in
bad group, the group id was 1001, the same as the userid, but there's no
group with such an id. Original I intended to create it with id 1000,
which is the 'other' group's id on my machine. So I corrected the problem
in /etc/passwd with 'vipw' and now I can't change my password, except if
I log in as root. What can be the problem?
Thanks in advance
P.S. :Here are lists of some files related to passwd on the
FBSD-2.2.2-RELEASE CDROM and on my HD.
FBSD-2.2.2-RELEASE:
-rw------- root/wheel 652 May 20 12:36 1997 etc/master.passwd
-rw-r--r-- root/wheel 598 May 20 12:36 1997 etc/passwd
-r-sr-xr-x root/bin 32768 May 20 12:34 1997 usr/bin/passwd
-r-sr-xr-x root/bin 0 May 20 12:34 1997 usr/bin/yppasswd link to usr/bin/passwd
-r--r--r-- bin/bin 2194 May 20 12:30 1997 usr/include/rpcsvc/yppasswd.x
-r--r--r-- bin/bin 742 May 20 12:30 1997 usr/include/rpcsvc/yppasswd.h
-r-xr-xr-x bin/bin 40960 May 20 12:35 1997 usr/sbin/rpc.yppasswdd
Actual state on my HD:
-rw------- 1 root wheel 981 Nov 11 15:54 etc/master.passwd
-rw-r--r-- 1 root wheel 816 Nov 11 15:54 etc/passwd
-r-sr-xr-x 2 root bin 32768 May 20 12:34 usr/bin/passwd*
-r-sr-xr-x 2 root bin 32768 May 20 12:34 usr/bin/passwd*
-r-sr-xr-x 2 root bin 32768 May 20 12:34 usr/bin/yppasswd*
-r--r--r-- 1 bin bin 742 May 20 12:30 usr/include/rpcsvc/yppasswd.h
-r--r--r-- 1 bin bin 2194 May 20 12:30 usr/include/rpcsvc/yppasswd.x
-r-xr-xr-x 1 bin bin 40960 May 20 12:35 usr/sbin/rpc.yppasswdd*
--------------------------------------------------------------------------------
Sebestyen Zoltan It all seems so stupid,
it makes me want to give up.
szoli@digo.inf..elte.hu But why should I give up,
when it all seems so stupid?
MAKE INSTALL NOT WAR
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.971111180440.26130A-100000>
