Sudonopass used to run a particular command with root permissions. The interesting thing is that when the user use sudo for a particular command, system prompts the user for current user’s password. Once the user enter the password, the command runs with root privileges. This is suitable to work with Ubuntu and Cent OS.
This help command guide the user about sudonopass module. This is suitable for all type of business users. The help command shows a short list of the commands built into the sudonopass module. The following screen shot enumerate it.
kevells@corp:/# cleopatra SudoNoPass help
******************************
This command allows you to add an entry to the system sudo file that will
allow your user to have passwordless sudo. This is required for
quite a few of the builds provided by Golden Contact, as
will perform test execution, software installs and more, silently.
SudoNoPass, sudonopass, sudo-nopass, sudo-passwordless
- install
Installs the sudo without password entry
example: cleopatra sudo-nopass install
------------------------------
End Help
******************************
Use this module to install sudonopass on Ubuntu Linux system packages.
cleopatra sudonopass install
Install sudonopass ?(Y/N)
When the user gives input, as yes automatically it will install configure the root pass access for everybody. The following screen shot will explain it.
kevells@corp:/# cleopatra sudo-nopass install
Install Sudo w/o Pass for User? (Y/N)
y
*******************************
* Pharaoh Tools *
* Sudo NoPass! *
*******************************
Enter User To Install As:
Kevells
The following will be written to /etc/sudoers
Please check if it looks wrong
You may not be able to use Sudo if it is incorrect!!!
Kevells ALL=NOPASSWD: ALL
Is this okay? (Y/N)
y
... All done!
*******************************
Thanks for installing , visit www.pharaohtools.com for more
******************************
Single App Installer:
--------------------------------------------
SudoNoPass: Success
------------------------------
Installer Finished
******************************
Parameters | Dirctory(default) | Output |
---|---|---|
Install sudonopass | yes | It will install sudonopass under Cleopatra |
Install sudonopass | No | It will exit| |
This file can be edited directly through the Web. Anyone can update and fix errors in this document with few clicks -- no downloads needed.
For an introduction to the documentation format please see the reST primer.