From owner-freebsd-stable@FreeBSD.ORG Mon Dec 3 16:26:01 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A3C816A469 for ; Mon, 3 Dec 2007 16:26:01 +0000 (UTC) (envelope-from mailman.msc@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by mx1.freebsd.org (Postfix) with ESMTP id 26C4613C4EC for ; Mon, 3 Dec 2007 16:26:01 +0000 (UTC) (envelope-from mailman.msc@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so5651505waf for ; Mon, 03 Dec 2007 08:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=DXiATx1C6n2MqBVXE9WP/1Im9ZcYLioPpjOjs8DvVxg=; b=aLLpzeROyWv7dmK9v1PcnY8F8XNevk2oQ/m5JIzwq4Jn3ocQqP0lUi7zKNJtwkrE2LUCKO+9nkpVhAd/dcORoZyBdGsrcYDdHkp8B1dQGZpPR+EVKy3DNOZi1yp92UUbuLrq+K2hwXEJZCD9TNOJBgTMw7X7/e1EIZaS7IOhJyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gcP2rc3lmyswvvB3DMFLUh1qhludvhnWq3dCuN/gIwDF3Y837liS+gpdPvb0jsVJp+qxJsod8z2aapbynn2JLTEDSmJOlpzfcy7yGvMBbH0a5HAYru4XQN2L23mm6n9FvSRZHhG1mcGK6MU9Y7xbc2888UYwn6OIH/FoG2zoK4I= Received: by 10.115.59.4 with SMTP id m4mr3562046wak.1196697549522; Mon, 03 Dec 2007 07:59:09 -0800 (PST) Received: by 10.115.110.4 with HTTP; Mon, 3 Dec 2007 07:59:09 -0800 (PST) Message-ID: Date: Mon, 3 Dec 2007 23:59:09 +0800 From: "Anjang Aki" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD 6.3-PRERELEASE unable to change file permission X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2007 16:26:01 -0000 hi!.. i'm not able to change file permission to disable rlogin and login on my box even as root # ls -lo /usr/bin/login /usr/bin/rlogin -r-sr-xr-x 1 root wheel schg 19996 Dec 1 13:04 /usr/bin/login -r-sr-xr-x 1 root wheel schg 10140 Dec 1 13:04 /usr/bin/rlogin # chflags -R nouchg login rlogin chflags: /usr/bin/login: Operation not permitted chflags: /usr/bin/rlogin: Operation not permitted # chmod a=rx /usr/bin/login /usr/bin/rlogin chmod: /usr/bin/login: Operation not permitted chmod: /usr/bin/rlogin: Operation not permitted it makes me uneasy as my users can still use login and rlogin to gain access to the box my system: # uname -a FreeBSD k3.college.edu 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #1: Sun Dec 2 18:51:02 MYT 2007 root@college.edu:/usr/obj/usr/src/sys/EDU i386 thanks for advice -- -- Anjang Aki --