LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-22-2010, 02:19 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
sudo vs. calife


While looking for something else in Synaptic, I saw a program called Calife. The description says:
Quote:
Calife is a lightweight alternative to Sudo.
It allows selected users to obtain a shell with the identity
of root, or another user, after entering their own password.
This permits the system administrator to grant root privileges
without sharing the root password.
Does anyone use this program? Why would I want it instead of sudo? I installed it and tried using it to see what would happen, but it just kept saying "Calife failed. Sorry, trying to run su." Just curious.
 
Old 08-22-2010, 02:45 PM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

other than the claim that it is more lightweight (less powerful?) than sudo I really do not see any significant difference to sudo. sudo also allows you to login as another user (including root) by providing your own password. AFAIK this is one major difference to su which requires the target users password.
As for why it fails:
probably because the configuration file /etc/calife.auth is not properly configured. You will have to add yourself to the calife users. But I really do not know how.
Try
man 5 calife.auth
for further info on that.

So after seeing that it does similiar (maybe less?) things as sudo and also in a similiar way the only answer to your question
Why would I want it instead of sudo?
would be: You probably don't.
However, I also just downloaded it to have a look at it. And it did not convince me.

Hope this helps a little.
 
Old 08-22-2010, 04:53 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
It did, thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 01:36 AM
(Sudo) command can't run by sudo rahilmaknojia Linux - Server 8 06-25-2010 09:30 AM
Problem with SUDO : sudo: pam_authenticate: Module is unknown cristoph_ Linux - Software 2 03-02-2009 07:12 PM
sudo blkid vs. sudo fdisk -l problems alienexplorers Linux - Newbie 1 01-13-2009 12:35 AM
Restricting Editing in Sudo (Advanced Sudo Question) LinuxGeek Linux - Software 4 11-04-2006 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration