Brief
Surmise about user management on CentOS
See the below regarding basic commands
https://gist.github.com/cocoa-maemae/fd29e2e91d0a75226b09b89e2a367231
# How to add user groups
On centos, add a file under /etc/sudoers.d
e.g.
sudo cat /etc/sudoers.d/hoge
%hoge ALL=(ALL) NOPASSWD: ALL
In this example, the left hoge is a group name.
FYI
If sudo visudo is executed, the following can be seen.
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d
includedir is commented out, but this is an unique spec, files under /etc/sudoers.d are loaded automatically.
This blog moved to medium->https://medium.com/@cocoamaemae
Regarding TIPS about IT technologies or OSS which I created.
Wednesday, September 14, 2016
Saturday, September 3, 2016
Hot install vim plug-ins by using dein
# After dein install is done, set dein to .vimrc.
Regarding dein install, refer the blow.
https://cocoamaemae-tec-diary.blogspot.jp/2018/01/how-to-install-dein-for-vim-plugin.html
OS: Linux(Debian, Ubuntu, RHEL, CentOS or etc)
# Add the blow sample to $HOME/.vimrc
dein configuration sample
# Please attach the blow to $HOME/.vimrc
" dein setting
if &compatible
set nocompatible
endif
set runtimepath+=~/.dein/repos/github.com/Shougo/dein.vim
call dein#begin('~/.vim')
" Write plug-ins you want to install
call dein#add('~/.dein/repos/github.com/Shougo')
call dein#add('tpope/vim-fugitive')
call dein#add('vim-scripts/vim-auto-save')
call dein#add('vim-scripts/grep.vim')
call dein#end()
" You can add more plug-ins
call dein#save_state()
filetype plugin indent on
syntax enable
" auto save
let g:auto_save = 1
# After .vimrc is set, execute dein install on vim command mode.
:call dein#install()
Regarding dein install, refer the blow.
https://cocoamaemae-tec-diary.blogspot.jp/2018/01/how-to-install-dein-for-vim-plugin.html
OS: Linux(Debian, Ubuntu, RHEL, CentOS or etc)
# Add the blow sample to $HOME/.vimrc
dein configuration sample
# Please attach the blow to $HOME/.vimrc
" dein setting
if &compatible
set nocompatible
endif
set runtimepath+=~/.dein/repos/github.com/Shougo/dein.vim
call dein#begin('~/.vim')
" Write plug-ins you want to install
call dein#add('~/.dein/repos/github.com/Shougo')
call dein#add('tpope/vim-fugitive')
call dein#add('vim-scripts/vim-auto-save')
call dein#add('vim-scripts/grep.vim')
call dein#end()
" You can add more plug-ins
call dein#save_state()
filetype plugin indent on
syntax enable
" auto save
let g:auto_save = 1
# After .vimrc is set, execute dein install on vim command mode.
:call dein#install()
Subscribe to:
Posts (Atom)
Front End Development Tools
TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...
-
What is partitioning? The structure which divides one table data to multiple data. When not using partitioning, one table data is aggrega...
-
It is general to create multiple branches and manage them parallel when we do the development by using git. Multiple branches should be mer...
-
What's URL encode? URL can be sent only ASCII characters over internet. When doing http request with query parameters, query parameter...