Oracle Linux/Quick Reference
From r00tedvw.com wiki
(Difference between revisions)
(→Add user & add to sudoers) |
|||
Line 14: | Line 14: | ||
~$ passwd user | ~$ passwd user | ||
add to sudoers | add to sudoers | ||
− | ~$visudo | + | ~$ visudo |
... | ... | ||
user ALL=(ALL) ALL | user ALL=(ALL) ALL |
Revision as of 22:05, 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