...
Code Block | ||||
---|---|---|---|---|
| ||||
## Next comes the main part: which users can run what soANT_HOME=~/apache-ant-1.8.4ftwaresoftware on ## which machines (the sudoers file can be shared between multiple ## systems). ## Syntax: ## ## user MACHINE=COMMANDS ## ## The COMMANDS section may have other options added to it. ## ## Allow root to run any commands anywhere root ALL=(ALL) ALL ## Allows members of the 'sys' group to run networking, software, ## service management apps and more. # %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS ## Allows people in group wheel to run all commands # %wheel ALL=(ALL) ALL ----------------> Add your group using this syntax if you want to be required to enter a password each time ## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL %myusergroup ALL=(ALL) NOPASSWD: ALL ---------------> Add your group using this syntax if you DO not want to be required to enter a password each time ## Allows members of the users group to mount and unmount the ## cdrom as root # %users ALL=/sbin/mount /mnt/cdrom, /sbin/umount /mnt/cdrom |
...
Code Block |
---|
sudo cpan HTTP::Request
sudo cpan LWP::UserAgent.pm
|
If you have scripts or other that use /bin/sh, relink to bash instead of dash:
Code Block |
---|
sudo ln -fs /bin/bash /bin/sh |
...
All Ubuntu
Add these lines to ~/.bashrc:
...
export ANT_HOME=~/apache-ant-1.8.4
If you have scripts or other that use /bin/sh, configure to use bash instead of dash:
Code Block |
---|
sudo dpkg-reconfigure dash |
...and answer No