Ku Còi

my trash

Tạo group cho MacOSX

Thiệt tình cứ tưởng nix ngồi groupadd là xong. Nhưng muh không phải vậy.

Số là tự nhiên em vui tính cài The Sims 2 for Mac vào chơi. Khổ là mấy cái cờ rắc nó đòi hỏi linh tinh.

1. Đi download iPatch để lụm iPatcher mới.

2. Tạo group cùng username.

Thế là thế này:

dscl . create /groups/GroupName
dscl . create /groups/GroupName name GroupName
dscl . create /groups/GroupName passwd “*”
dscl . create /groups/GroupName gid <PUT HERE PrimaryGroupID of group staff>
dscl . create /groups/GroupName users “Your user name here”

Kiểm tra lại

dscl . read /groups/GroupName

Ngắn gọn nhé.

Hình lại được lên báo, hehe… nội dung không phải của tui. Ai sai thì chửi người đó nhá.

February 23, 2009 Posted by | ITs | , , , , | Leave a Comment

   

Follow

Get every new post delivered to your Inbox.