linux user 특정 기간동안 root 권한 할당
target_id="userid" echo -e "$target_id ALL=(ALL)\\tNOPASSWD: /bin/su" >> /etc/sudoers echo "sed -i -e "/^$target_id/d" /etc/sudoers" | at 18:00 2013-11-15 유저 찾아서 있으면 2주까지 루트 권한 획득 #!/bin/bash today=$(date "+%Y-%m-%d") exdate=$(date -d "+14 days" "+%Y-%m-%d") read -p "input user id : " userid echo ============================================== read -p "input ticket id (ex FI-0000) : " ticketid ba..
linux
2014. 5. 28. 11:21
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- vm rac
- dl20 g9 centos7 설치
- dl20 centos7
- cgroup
- ISCSI 볼륨 RAC
- linux command log
- ILO
- ipmi
- DL20 GEN9 장비에 CentOS 7
- nxos ansible
- kernel 변경
- oracle linux8 kernel
- ansible ios
- ansible network
- cisco ansible
- dl20
- windows.old 강제삭제
- ios ansible
- cmd로 계정 생성
- chrony
- 리눅스 커맨드 로그남기기
- CentOS 7 GUI
- 윈도우 cmd 계정 관리
- centos7 ntp
- shell connmad log
- 윈도우서버 계정 관려
- 특정 문구 치환
- 특정 라인삭제
- cmd로 윈도우 계정 관리
- nutanix rac
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함