Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Tiger installation tips!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Tiger installation tips!
Authored by: TicToc on Oct 17, '05 03:20:03AM
Thanks for the tip. It got the hint working on my Powerbook (running 10.4.2). A couple of comments/questions:
1. Shouldn't the first line be
#!/bin/sh
2. Shouldn't there be a
\
after "Menu" in the second line?

3. Implementing this tip does make the login window activate on sleep, for all users. What I liked about the original hint (and the original rc.sleep file) is that it runs ~/.sleep, which can be different for each user. Have you any idea how to get that functionality back? I've tried installing the Sleepwatcher StartUpItem, complete with rc.sleep file, and .sleep as in the original hint, but it fails on sleep with the complaint
System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession: Unable to Fast User Switch: User must be the current console user or root.

Thanks,
John

[ Reply to This | # ]
Tiger installation tips!
Authored by: magnamous on Sep 12, '06 12:45:25AM
In /etc/rc.sleep, change this line:
su - $name -c "$home/.sleep"
to this:
"$home/.sleep"
Worked for me on a Pismo on 10.4.7, but I don't know enough to know whether this is secure or not: it executes as the current user, but I don't know if there are other things that need to be taken into consideration.

[ Reply to This | # ]