Skip to content
This repository has been archived by the owner on Jan 30, 2018. It is now read-only.

Won't work with root user #33

Open
ktappe opened this issue Mar 6, 2014 · 1 comment
Open

Won't work with root user #33

ktappe opened this issue Mar 6, 2014 · 1 comment
Labels

Comments

@ktappe
Copy link

ktappe commented Mar 6, 2014

I know messing with root is a bad idea but we needed to for a particular reason. Anyway, if you use CreateUserPkg to "create" root (yes, it already exists, but I wanted to set the password and autologin), the password gets set but automatic login does not. I examined the output package and it contains /private/etc/kcpassword but it doesn't work. I got around the issue by capturing /private/etc/kcpassword from a system where I set root to autologin. This shows root can be set to autologin, but CreateUserPkg doesn't do it. I know this is a special case but I thought I'd let you know about it.

@MagerValp MagerValp added the bug label Mar 7, 2014
@MagerValp
Copy link
Owner

I'm not sure what's up with automagic login, but the root package will set root's GID to 20, which is bound to cause all sorts of issues with the system.

I should probably block CreateUserPkg from generating packages with UID 0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants