1752810 Members
5995 Online
108789 Solutions
New Discussion юеВ

Re: configuration SUDO

 
SOLVED
Go to solution
Johnson Punniyalingam
Honored Contributor

Re: configuration SUDO

Check below link for more information

http://www.unixcities.com/sudo/index.html
Problems are common to all, but attitude makes the difference
Eli Daniel
Super Advisor

Re: configuration SUDO

sudo version 1.7
when you install sudo (depot) there is no configure file (. / config)
Johnson Punniyalingam
Honored Contributor
Solution

Re: configuration SUDO

>>when you install sudo (depot)<<

if its already "depot" you no need to (./configure)

the link which i post to for your Question
>>edit file with vi
not edit with visudo<<

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Eli Daniel
Super Advisor

Re: configuration SUDO

forget this option???? (installing depot)

3. Compile the source code and install sudo:

Configure the compilation process for your system:

# ./configure
Compile the source code:


# make
And install the compiled code:

# make install

This install the sudo program into /usr/local/bin, the visudo script (see later) into /usr/local/sbin and the manual page into subdirectories of /usr/local/man.

Eli Daniel
Super Advisor

Re: configuration SUDO


user: user1
change file .dtprofile

add lines:
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin
MANPATH=$MANPATH:/usr/man/:/usr/local/man

SAPL904:/home/user1> sudo -V
sh: sudo: not found.
SAPL904:/home/user1>man sudo
sh: sudo: not found.



Steven E. Protter
Exalted Contributor

Re: configuration SUDO

Shalom,

add lines:
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/ccs/bin
MANPATH=$MANPATH:/usr/man/:/usr/local/man

As root:
whence sudo
whence sudoers

Get that PATH into the PATH variable.

man -l sudo (as root to get started)

SAPL904:/home/user1> sudo -V
sh: sudo: not found.
SAPL904:/home/user1>man sudo
sh: sudo: not found.

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
Eli Daniel
Super Advisor

Re: configuration SUDO


change file: .dtprofile (root)
SAPL904:/> whence sudo
SAPL904:/> whence sudoers
SAPL904:/> man -l sudo
Usage: man [-M path] [-T macro-package] [ section ] name ...
or: man -k keyword ...
or: man -f file ...
SAPL904:/> man sudo
No manual entry for sudo.
SAPL904:/> whoami
root
SAPL904:/>
Eli Daniel
Super Advisor

Re: configuration SUDO

Thanks