take five

my fifth web-space 
Filed under

howto

 

how to use users-admin remotely on Ubuntu

Lately I had the necessity to create an account and modify another one on an Ubuntu box at work. I've regularly logged on via a ssh -X shell and gave the command sudo users-admin resulting in a "blocked" window ... I mean one on which I wasn't able to unlock the command via an administrative password input.

After a little diggin' on the web I found that the solution is in giving this command:

sudo ck-launch-session users-admin &

which will ask you the administrative password and make the commands on the appearing window

Loading mentions Retweet
Filed under  //   bash   how-to   remote   sysadmin   ubuntu  

Comments [1]

New Apple iMac

the 27" one, with amazing 16GB of RAM it's kinda dream machine ...

Loading mentions Retweet
Filed under  //   apple   design   hardware   howto   iMac   macosx   video  

Comments [0]

become a Gmail ninja!

via http://www.google.com/mail/help/tips.html

Loading mentions Retweet
Filed under  //   e-mail   gmail   guide   how-to   tips  

Comments [0]

Using Firebug for CSS

good stuff here!

Loading mentions Retweet
Filed under  //   css   extensions   firebug   firefox   how-to   mozilla   tutorials   video   webdev  

Comments [0]

What the F**K is Social Media

Reading my "posterous" reading-list I've just encountered this slide disamination on Social Media ... kinda worth to be liked and put in evidence on my Posterous and Twitter stream ...

Loading mentions Retweet
Filed under  //   how-to   inspiration   photos   slide   social media   social networks   web2.0  

Comments [0]

which version of Ubuntu are you running ?

Ever wondered how to know by command line which version of Ubuntu are you running ?
The answer is simple:

kOoLiNuS@linuxbox:$ cat /etc/lsb-release 

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.3 LTS"

Enjoy your Open Source operating system ;-)

Loading mentions Retweet
Filed under  //   GNU/Linux   how-to   shell   ubuntu  

Comments [2]

restore grub installation [Fedora, Centos, RHEL & derivates]

Have you ever found yourself with a non-booting GNU/Linux box?
 
If the cause is a corrupted grub installation (by a bad move on kernel upgrade, a Windows update or whatever) all you have to do is simply:
 

  • set the BIOS of your machine to have CD/DVD-rom player as the 1st boot device; 
  • insert the Fedora/CentOS/RHEL media on it and boot the system, 
  • choose {or manually insert}: linux rescue and press return, 
  • a number of messages will be displayed until you will be taken to a working shell and your old system is mounted on /mnt/sysimage path, 
  • give 'chroot /mnt/sysimage' command to "phisically translate" the shell on your original installation 
  • 'cd /boot/grub
  • then check where grub results installed if you have different disks on your machine with a grep '#boot' grub.conf 
  • read the output, verify it's correct eventually with the help of an fdisk -l command, 
  • now you are ready to install grub, after you've choosen the device (or partition) where it sould is located give the command grub-install /dev/device-choosen {ie that could be /dev/sda} 
  • now close the shell and reboot, the system should be working correctly now! 
 
Enjoy ;-)

Loading mentions Retweet
Filed under  //   centos   fedora   GNU/Linux   how-to   rescue   RHEL   sysadmin  

Comments [0]

getting Flash workin' into Flock (on Linux)

Do you have Firefox installed and correctly configurated with the Flash plugin ?
 
Have you manually installed Flock on /opt and can't see videos on
Facebook or blogs, animations and such?
Well to "cure" your installation all you have to do, as root user is
give this command:
 
ln -s /usr/lib/mozilla/plugins/* /opt/flock/plugins/
 
Enjoy !!!

Loading mentions Retweet
Filed under  //   fedora   flash   flock   how-to   linux  

Comments [0]