passwd restriktieren, root kann nix ändern?

From: J. Erik Heinz <list(at)jerik.de>
Date: Sun, 9 Oct 2005 21:24:12 +0200

Hi,

ich wollte erreichen, das die user nicht ihr passwort ändern können.
Dazu hab ich gedacht, ok machste ein chmod o-x /usr/bin/passwd und gut
is.

Auf der workstation (zum testen) hat auch alles geklappt:

[root(at)develop] ~ # ll /usr/bin/passwd
-r-sr-xr-x 2 root wheel 6052 5 Nov 2004 /usr/bin/passwd
[root(at)develop] ~ # chmod o-x /usr/bin/passwd
[root(at)develop] ~ # ll /usr/bin/passwd
-r-sr-xr-- 2 root wheel 6052 5 Nov 2004 /usr/bin/passwd

Auf dem Server jedoch nicht:
[root(at)server] ~ # ll /usr/bin/passwd
-r-sr-xr-x 2 root wheel 6072 11 Sep 16:41 /usr/bin/passwd
[root(at)server] ~ # chmod o-x /usr/bin/passwd
chmod: /usr/bin/passwd: Operation not permitted

Ich dachte immer root könnte so ziemlich alles?
Warum geht das nicht?
Wie krieg ich es hin, das user nicht ihr passwort ändern können, wenn
man passwd nicht restriktieren kann

Gruss Erik

-- 
J. Erik Heinz
Keyboard-samuraing in process
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sun 09 Oct 2005 - 21:25:40 CEST

search this site