RSF

Calife: how to become root (or another user) with one’s own password


Eye with Pyramid

Calife is small program that enable a system administrator to become root (or another user) on his/her machines without giving the root password but his/her own.

The most interesting features of calife are:


Availability

The latest release is now 3.0pre9, available at the primary site and the FTP mirrors here or there. As a last resort, you can use that one here. It has been signed with my PGP/GPG key (see here or a keyserver near you for the key) so please download the .sig file.

Calife dists—http

Calife dists—ftp

NEW! I have setup a Calife project in a Redmine instance on this machine. Please check it out.

Calife repositories in Mercurial (HG)

You can either use

    hg clone URL local-directory

to pull these or browse the integrated web interface by clicking on the links below:

Main stable branch: Calife 2.8

New development branch: Calife 3.0/PAM

3.0pre9 hash is 9f47e558f7676066be6b0d5c4c1371a5.

NOTES on versions

2.8.6 is a security release after finding a possible buffer overflow in getpass(3) on Linux systems. 2.8.6 protects itself on all systems from this.

2.8.6-p2 is a minor upgrade to release the code for handling groups.

3.0 is now being worked on, the most important change is that 3.0 will be PAM compliant, allowing to separately manage password policy and means to obtain said password.

That way, we are now compatible with MacOS X 10.3 and up as the password is not available anymore through the usual getpwnam(3) API.

Relaxed mode in which one could use calife without a password has been deprecated and removed from the current source tree.


Calife is named after a very famous french comic taking place in an turkish/mideast country whereas the principal character – the Grand Vizir named “Iznogoud” – is always making plans to become “Calife” in place of the “Calife”.