Oracle Linux/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
(Created page with "==yum== update repo cache (agt-get update equivalent) ~$ yum check-update update all packages ~$ yum update install software ~$ yum install lynx remove software ~$ yum rem...") |
|||
Line 8: | Line 8: | ||
remove software | remove software | ||
~$ yum remove lynx | ~$ yum remove lynx | ||
+ | ==Add user & add to sudoers== | ||
+ | add user | ||
+ | ~$ useradd user | ||
+ | set password for user | ||
+ | ~$ passwd user | ||
+ | add to sudoers | ||
+ | ~$visudo | ||
+ | ... | ||
+ | user ALL=(ALL) ALL |
Revision as of 22:04, 25 April 2014
yum
update repo cache (agt-get update equivalent)
~$ yum check-update
update all packages
~$ yum update
install software
~$ yum install lynx
remove software
~$ yum remove lynx
Add user & add to sudoers
add user
~$ useradd user
set password for user
~$ passwd user
add to sudoers
~$visudo ... user ALL=(ALL) ALL