Steady as a rock

…or so they say

 

User management tricks

Inspired by the latest launchpad news, here is a better version of launchpadduser.py. It does more sanity checking, can be used as a module and allows you to use a different name locally than on launchpad (eg sudo ./launchpadduser.py –launchpad-name kiko christian) Enjoy!

In related news: It’s now happened too often that I had to walk a user through the boot with live cd/find partition/chroot/passwd hoops after they forget the password for their account. So I whipped up a shellscript that one can wget and run from a live cd. It searches for partitions with linux installs on them and allows you to the password for any account on them that has a usable password. So now these hoops are reduced to:

Filed under : Ubuntu
By Dennis Kaarsemaker
On March 22, 2008
At 16:45
Comments :
 

9 Comments for this post

 
pedro Says:

pedro

 
 
ryanhaigh Says:

Why not use the recovery mode option from grub rather than messing around with the livecd and chroot.

 
 
Dennis Kaarsemaker Says:

Because this always happens to people who don’t know what the hell to do with a terminal. In the live cd they can start an irc client and ask for guidance :)

 
 
nicolas Says:

So what prevents someone to use this trick to gain access to other peoples linux systems?

 
 
Dennis Kaarsemaker Says:

I’m not sure I understand what you mean nico. You need local root access for this to work. It doesn’t open a remote hole or anything.

 
 
nicolas Says:

Say I am sitting at the Ubuntu linux system of some one else. I want to see what is on their but I don’t have the username/password.
What I meant was that it seems that I can use this trick, using a live CD, to gain access to that system. Or am I missing something

 
 
Dennis Kaarsemaker Says:

Yes you can, but you can do lots of things if you have physical access so that’s a moot point :)

 
 
nicolas Says:

True enough. I am glad though that my paranoid fantasies were validated 8-)

 

Leave a Reply