Home Forums Software InstaDMG using CreateLionUser.pkg to create an hidden user

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #381627
    ramuntcho
    Participant

    Hi,

    I use this package to create an hidden user, but it’s not really hidden :
    – at the firs boot, it appears in the window login, but not after, replace by Other… (is it possible to make Other not appearing ?)
    – In the System preferences, it appears in Comptes (in French) with the other users. Is it possible to hide it also here ?

    Thanks for any answer

    Christian

    #381660
    ramuntcho
    Participant

    Hi,

    I answer myself !

    In the CreateUserLion.pkg, you can specify the UniqueID as 499 for the hidden user. Then you can add to lines in post flight script :
    – defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool YES
    – sudo defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool false

    :-)) Christian

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed