Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Feb 1999 14:09:44 -0500
From:      Phil <ReachMe@Syne-Post.Com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   login_getclass permission denied, help
Message-ID:  <36BB41F7.558A8414@Syne-Post.Com>

index | next in thread | raw e-mail

OOOOooooooooppppppppsssssss!!!!!!!!

I screwed up
here's what happens
Feb  5 10:42:53 mnemo ls: /etc/pwd.db: Permission
denied
Feb  5 10:49:13 mnemo login: login_getclass: retrieving
class
information: Permi
ssion denied
Feb  5 10:49:16 mnemo login: login_getclass: retrieving
class
information: Permi
ssion denied
Feb  5 10:49:20 mnemo pine: /etc/pwd.db: Permission
denied
Feb  5 10:49:57 mnemo pine: /etc/pwd.db: Permission
denied

what I did was change the permissions on pwd.db to chmod
600 so that only the root could view the file
since then I changed it to 640 I still get the same
message. ???
what's with login_getclass?? I don't see that file in
/etc/ at all and
those are the only files I touched. I mean I went through everything in
/etc/ to minimize access and increase security for those files.

I just did another login test and see how the
login_getclass is related
to logging in, but not where the file being access is located or what it
is called

anyhow I must have been too restrictive on some of
those files in /etc/

I don't have a reference on this though.

Perhaps someone can post a list of suitable permissions for files in the
/etc/ directory?

Or if you know of why this is happening please tel me.

Thanks so much

Phil
Syne-Post




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36BB41F7.558A8414>