Operating System - HP-UX
1821470 Members
2826 Online
109633 Solutions
New Discussion юеВ

Re: Alternative for sudo on linux

 
Brecht De Baets
Frequent Advisor

Alternative for sudo on linux

Hello,

Is there an alternative in unix for the sudo command on linux where you can execute a command as root (for example a mount).
Or is it necessary to write a scriptfile to do this. If so, can you please provide me the script-code ?

Regards,
Brecht
9 REPLIES 9
Peter Godron
Honored Contributor

Re: Alternative for sudo on linux

Brecht,
not sure what you are after.

HP version of sudo ?
http://hpux.ee.ualberta.ca/hppd/hpux/Sysadmin/sudo-1.6.8p12/
and thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1003784

An alternative to sudo? Why?
You could write a script and chmod set-user-id. See "man chmod"
siva0123
Trusted Contributor

Re: Alternative for sudo on linux

Hi,

Somewhere i 've heard of a tool called calife which claims to be an alternative to sudo but perhaps has the same functionality.

If you can do a google serach for calife i think you can find it.

Thanks,
Siva
Martin Brachtl
Advisor

Re: Alternative for sudo on linux

Steven E. Protter
Exalted Contributor

Re: Alternative for sudo on linux

Shalom,

If you use sudo on HP-UX, use the version that comes with Internet Express from http://software.hp.com

The version posted above has bugs and run/build time dependencies to resolve. The software.hp.com version has none of these problems.

sudo does a pretty good job, why look for an alternative?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yogeeraj_1
Honored Contributor

Re: Alternative for sudo on linux

hi Brecht,

sudo for linux is same as sudo for hp-ux.

go for it.

knid regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Brecht De Baets
Frequent Advisor

Re: Alternative for sudo on linux

I didn't know that sudo also existed for unix. I have downloaded it from http://software.hp.com and will try to install it.

Thanks for the info,
Brecht
Brecht De Baets
Frequent Advisor

Re: Alternative for sudo on linux

Do I have to install sudo as user root ?

Regards,
Brecht
Peter Godron
Honored Contributor

Re: Alternative for sudo on linux

Brecht,
yes.
Please see the documentation given in the thread link in my first post.
Brecht De Baets
Frequent Advisor

Re: Alternative for sudo on linux

I have successfully installed sudo and it's working fine.

Thanks,
Brecht