Wait, what?

Subscribe to RSS feed

Remove the Bullseye from your newly Jailbroken iDevice

, , ,

Just jailbroke your fancy new iDevice, but worried about security holes? You should be. There was a service installed called OpenSSH (it’s not malware, promise) that allows remote connections, incase your device poops, you can remote in and fix the problem. The issue with this, is the default password was not changed. Don’t worry, it’s really easy to change the password. You can go about this two ways, remote into your phone via your computer, or get a terminal app for your device.

Whichever route you decide to go, the default username is mobile with the password alpine. Then run the following commands from the terminal window.

su
passwd root
passwd mobile

Locking down SSH with rssh

, , ,

Want to setup a user account on your server to allow scp/sftp access but not shell (ssh) with openSSH?

Use your favorite package manager to install the ‘rssh’ package:

apt-get install rssh


Then edit the config file in your favorite text editor to uncomment sftp and scp (and whatever you’d like):

nano /etc/rssh.conf


Now create a user account with the shell set to rssh (/usr/bin/rssh) and set a password for the account:

useradd -m -g users -s /usr/bin/rssh usernamehere
passwd usernamehere


Tada! The newly created user will now be allowed to use sftp and scp, but not allowed to ssh into your server.

SHOUTcast Daemon in Linux

, ,

I wish SHOUTcast came with a daemon so you didn’t have to start it by hand on every boot. So I found a daemon and modified it a little bit to remove user interaction with the service.

#!/bin/sh

# full path to sc_serv
DAEMON="/home/shoutcast/sc_serv"
# full path to sc_serv.conf (or whatever you call it)
CONFIG="/home/shoutcast/sc_serv.conf"

# Check for SHOUTcast binary
test -f $DAEMON || exit 0

# The init commands
case "$1" in
	start)
	echo "Starting SHOUTcast server..."
	$DAEMON $CONFIG > /dev/null 2>&1 &
	;;
	stop)
	echo "Stopping SHOUTcast server..."
	kill -9 `ps -C sc_serv -o pid --no-headers`
	;;
	restart)
	echo "Stopping SHOUTcast server..."
	kill -9 `ps -C sc_serv -o pid --no-headers`
	echo "Starting SHOUTcast server..."
	$DAEMON $CONFIG > /dev/null 2>&1 &
	;;
	*)
	echo "usage: /etc/rc.d/sc_serv"
	echo "$0 {start | stop | restart}"
	exit 1
	;;
esac

Change the screenshot save location on OS X.

, ,

I don't like the fact that OS X saves your screenshots to your desktop. I do like that they let you change this. Here's the code to change where they save to.

Note: You may need to logout/login for the changes to be applied.

defaults write com.apple.screencapture location /Full/Path/To/Folder

Prevent SSH from starting on boot on iOS

, , ,

There were plenty of sites explaining that it was a bad idea for backups, and that it the SSH daemon doesn't actually use any extra battery when it's idle, and I agree. However, that doesn't mean that you still shouldn't be allowed to do it (defeats the true purpose of jailbreaking, right?). With that being said, you can either SSH into your device, or use a terminal app locally to run the following command, which does not remove SSH, however prevents it from running on startup.

Note: You must be root to effectively run this command

cd /Library/LaunchDaemons; mv com.openssh.sshd.plist .com.openssh.sshd.plist

ObjectDock awesome-ness

,

I found out this awesome little shortcut that anyone that may read this that happens to use ObjectDock may love (like I now do). I managed to find this shortcut out on accident, while playing World of Warcraft, I ALT + Tab'd out to open my Shortcuts folder (Think of the "Applications" folder on a Mac) and was accidentally holding CTRL while clicking on the icon. Upon my surprise, it brought up a right-click style pop-up with all the contents of the folder (all the shortcuts in one nice little menu). So, if you want to try this yourself, put a folder on your dock, and CTRL + Left-Click it to see what I mean.

Here is a screenshot of what mine looks like when I do it:

How to disable sudo password prompts on Ubuntu

,

This is a basic tutorial on how to stop being asked for your password. I know there are better ways to do this, but this is how I know how to. smile

Step 1

Press ALT+F2 to open your run box and type gksudo nautilus



Step 2

Navigate your way to /etc/sudoers



Step 3

Right Click on the sudoers file and select Properties. Then select the Permissions tab and change the second dropdown box to Read and write.



Step 4

Locate the line starting with starting with %admin and replace that line with the following:
%admin  ALL=NOPASSWD: ALL




Step 5

Right Click on the sudoers file and select Properties. Then select the Permissions tab and change the second dropdown box to Read-only.



Step 6 (Final Step)

Reboot.

Some awesome Linux apps

, ,

I just reinstalled Ubuntu last night and it's been working like a dream. I found a bunch of cool apps, but I'd like to share them, and also be welcome to suggestions for new software. Without further a due, here is my list of awesome Linux apps (that I've found so far):

  • TweetDeck
    A must have for all Twitter addicts.
  • Ejecter
    This little app sits in your system tray, and serves as a quick unmount removable drive tool.
  • Deluge BitTorrent
    This is easily the closest to uTorrent you'll ever find. It's also very UI flexible, so you can tweak till your hearts content.
  • FrostWire
    It's the same exact thing as LimeWire Pro, but legally free. Also, you're on Linux, so you don't have to worry about virus filled music.
  • RecordMyDesktop
    Think of HyperCam, with less gay, and free. Yeah, that's this app. A must have for doing tutorials.
  • VLC Media Player
    This is a must have for EVERY operating system. Best multimedia player ever.
  • SoundConverter
    This tool will let you convert your .wma's and .ogg's to .mp3's.
  • EnvyNG
    This tool will automagically find your video drivers, install them, and configure them if you have an ATi or nVidia gfx chip (which you most likely do). Does it get better than that?
  • DropBox
    Yes, the best file sync tool has made a Linux client.
  • Opera
    This is an obvious one, but I figured I'd mention it.
  • ubuntu-restricted-extras
    This will get you flash, java, and all the other little things, and it's only one package!
  • Alarm Clock
    Just your every day alarm clock. Simple to use.
  • Pidgin
    The best multi-protocol IM client, and it comes pre-installed.
  • Kmix
    Because this sound mixer is far superior to the Gnome mixer.
  • Klipper
    This applet will store the last x amount of copied things, so you don't have to keep recopying.
  • Gedit
    Just a regular ol' notepad application. However, has a very clean and nice looking interface.
  • OpenOffice
    Word processor, spreadsheets, and power point presentations all taken care of by this office suite.
  • Evolution
    A free version of Outlook. Just as robust, more stable.
  • Skype
    Yes, they DO make a Linux version of this.
  • Ubuntu Tweak
    A pretty frontend for setting gconf settings. (An easy way to configure general settings)


So now that my list is out of the way, what applications for Linux do you like?

Google Chrome, my feedback list(s)

,

I've been playing around with Google Chrome, and so far, here are my gripes and praises about it. Now I know that this is only a beta, and that all the features aren't in/finished, but I'd like to say this stuff anyway.


Positive:
  • The download manager looks really slick, and easy to use.
  • Very clean interface.
  • Smooth animations.
  • Search Engine editor. One of the better features of Opera. smile


Negative:
  • I can't import my bookmarks from Opera, or an .html file.
  • The fact that gmail.com comes up as a security threat...
  • Inability to change the tab bar from the top to the bottom of the URL bar.
  • After a moderate amount of web browsing, the URL bar becomes sluggish when typing.


This list is a WIP, and hopefully, will have a ton of positives, and no negatives for future releases.

TweetDeck, the Twitter app that just feels right.

,

As you may know, I am a huge Twitter fan. And because the Twitter XMPP bot has been offline for a very long time, and the fact that I dislike using the website (not because of it's design, it's just out of my way).

This brought me to a crossroads, find an application that reads/posts to Twitter, or stop using Twitter. As the latter of the two isn't feasible, I began my hunt for the perfect Twitter app. I'm very picky when it comes to software, if it doesn't do exactly what I want it to do, I won't use it. With this being said, I knew it wouldn't be easy to find what I was looking for.

My search began with an application called Spaz. In my opinion, Spaz was really poorly written. My evidence (not that this happens to everyone) is the broken UI upon startup (which wouldn't fix itself until I clicked on several things), and the fact that it's very poorly designed.

The next item on my list was Twhirl. I can't understand why so many people like this app, I really can't. The giant swirl in the top right is horrid looking and takes up too much space, API limit always exceeded itself within 3 minutes of use, and the fact that it's only single column.

After trying these two popular Twitter apps, I went around with a couple others, which were even worse.
Then one day I see that @JakeMarsh is using something called TweetDeck, which sounded interesting, so I checked it out. Looking at the screenshots, I wasn't too impressed, but not pushed away either. So I installed it and gave it a go.

The first time I ran it, I took notice to the clean design to it. Some people see it as being too big, but in my opinion, it's perfect. I see it this way because I can see more than one thing at a time with it, which if you try using Twhirl or such, you'll understand exactly what I mean. It's still in heavy public beta, and every version is a huge improvement on the previous one. Some of the things I found cool with it are groups, optional multi-column view, and the color scheme.

Quick breakdown of my overall thoughts on it..


Pros:

  • Very well laid out interface
  • The option to use single column or multi-column view
  • Good looking color scheme
  • Ability to have Groups, which you can follow certain people in a certain column
  • Built in URL shortener
  • Built in TwitPic integration (will be in the next version)
  • Fast (which, for a AIR app, is a not common)



Cons:

  • Only one color scheme (Who wouldn't want a hot pink TweetDeck?)
  • Lack of options



One last thing that I absolutely love about TweetDeck is the community. They have a special area where you can request new features to be added to the app. In my opinion, this is the perfect way to make an app that the people want, use their ideas!


http://tweetdeck.com