ymmtmdk / puredarwin

Automatically exported from code.google.com/p/puredarwin
Other
0 stars 0 forks source link

passwd command does not work #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
"passwd" command does not work in non-nano PD, when launched in -s mode. 
However I get 
launchctl: Dubious ownership on file (skipping)

chown root /System/Library/LaunchAgents/*
brings it a bit further ("Changing password for root").

Original issue reported on code.google.com by appeng...@puredarwin.org on 2 Jan 2010 at 5:07

GoogleCodeExporter commented 9 years ago
This is expected, "nano" is minimalist, consequently does not satisfy 
dependencies for "login support" or any 
user disctinction nor management tool as `passwd'.
Also `passwd' depends on OpenDirectory.framework which is not provided in 
"nano".

Original comment by Aladin.Q...@gmail.com on 3 Jan 2010 at 12:09

GoogleCodeExporter commented 9 years ago
Should we remove the "system_cmds" project (the one which contains`passwd') 
from "nano"?

Original comment by Aladin.Q...@gmail.com on 3 Jan 2010 at 10:44

GoogleCodeExporter commented 9 years ago
Ah, I see. Yes, if it can't work on nano then we should maybe replace it with a 
fake "passwd" that echos "This 
command is not supported in this minimal edition of the operating system, this 
is not a bug" ;-)

Original comment by appeng...@puredarwin.org on 3 Jan 2010 at 12:21

GoogleCodeExporter commented 9 years ago
I'm more partisan of removing `passwd' (and binaries which behaves similarly).
Removing the "system_cmds" project implies that e.g., sysctl, dmesg, 
dynamic_pager, etc.. which belong to the 
"system_cmds" projects will not be available and could lead to frustration.

Original comment by Aladin.Q...@gmail.com on 3 Jan 2010 at 11:22