How to Add a User to a Group in Linux

Today I had to add an existing user to an existing group in Linux. It’s been so long since the last time I did it that I had actually forgotten how to do it. Well, good ol’ man pages to the rescue. Here’s how to do it:

adduser user group

If you want to verify that it worked, use grep:

grep group /etc/group

In grep’s output, you should see the user’s name. For example:

group:!:50:tom,dick,harry,user

Enjoy!

Disabling Password Authentication on Dropbear SSH Server in OpenWrt Running on WRT54G

I have a LinkSys WRT54G router which runs OpenWrt (version White Russian RC5). For console access to the router, I have enabled the Dropbear SSH server, which works well.

Recently, I opened up the SSH port to allow remote access to the console. To secure this as best I could, I disabled password authentication and enabled public key authentication, by following the instructions in the Dropbear Public Key Authentication Howto.

After doing disabling password authentication, I thought to myself “What if I lose my private key?” The answer is “I’m probably screwed”, because there is no serial port on the WRT54G for local access. (Actually, there are some hardware mods you can do to add a serial port but I’m not that handy or brave).

So I thought to myself “Would’t it be great if you could configure Dropbear to disallow password authentication for remote connections but allow it for local connections?” Continue reading » Disabling Password Authentication on Dropbear SSH Server in OpenWrt Running on WRT54G

QuickBooks Help – Page Cannot Be Displayed

I installed QuickBooks Pro 2006 yesterday. When I tried to access the help files, I got the error: “Page Cannot Be Displayed”.

I found lots of suggested solutions in Google. I tried many of them one-by-one and they did not work. Then I started trying them in combination. Finally, it worked. However, I’m not sure which combination did the trick. If you are having the same problem, please try the various tips on the page CHM help files error: The page cannot be displayed.

I think this tip is important:

regsvr32 hhctrl.ocx

But you might have to create the MaxAllowedZone registry key first (see above link).

Again, I’m not sure exactly which combination did the trick. Just keep trying all of the suggestions on that page (perhaps in various orders) until it is fixed. Then post a comment back here, describing what worked for you.

BTW, Intuit’s knowledge base sucks shit! It should have the solution for this problem, which seems to be a common one, judging from the number of posts about it in the QuickBooks forums.

QuickBooks Pro 2006 – Shitty Out of Box Experience

I just installed QuickBooks Pro 2006. The installation went okay but when I tried to start QuickBooks for the first time, I ran into problems. The splash screen came on for about a half a second and then the program closed. I tried it again and then same thing happened.

I figured if Intuit was a typical software company, they would have put some error message into a log file. Sure enough, I found a log file at “C:\Program Files\Intuit\QuickBooks Pro\QBWIN.log”. Inside the log I found several “missing module” messages: Continue reading » QuickBooks Pro 2006 – Shitty Out of Box Experience

Page 13 of 17« First...10«1112131415»...Last »