Date: Thu, 5 Oct 2000 00:48:12 +0200 (CEST) From: Ron Scott <ron@kronos.WoX.org> To: Raoul Schroeder <memphis_ms@gmx.net> Cc: Ed Quijano <edquijano@prodigy.net>, questions@FreeBSD.ORG Subject: Re: Access denied Message-ID: <Pine.BSF.4.21.0010050033190.63357-100000@kronos.wox.org> In-Reply-To: <39DB8551.FFA5B63F@gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 4 Raoul Schroeder wrote: > > I installed FreeBsd 4.0 and I want to configure my printer. When I go to > > /etc/printcap the access is denied even login as ROOT. I'm a novice using Maybe the root partition mounted ro, read-only. > > Hmm, if you have an access denied as root, I could only imagine that NO ONE > has read and write permissions to that file: as root (or any user with uid 0), you can modify any file, regardless of permissions as long the file is not immutable (man chflags(1)). > Do a: > ls -la /etc/printcap > > and check the permissions. It should be at least -rw------- > standard is: -rw-r--r-- > > you can change permissions with chmod if necessary. How about sysctl -w kern.securelevel=1; chflags schg /etc/princap then chmod /etc/printcap fails. -- UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things. (Doug Gwyn) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010050033190.63357-100000>