2006-12-01から1ヶ月間の記事一覧

NetVault7のCLIを使うときには

下記の環境変数を設定しておくこと NETVAULTCLIACCOUNT NETVAULTCLIPASSWORD ■ NETVAULTCLIACCOUNT - Used to name the Account with access to use the CLI. ■ NETVAULTCLIPASSWORD - Used to name the Password associated with the Account. http://www.b…

dateコマンドで日付計算

とらぶろぐ 2.0: [Linux]-[system] 日付の計算(bash) http://tryer.uzuki.ac/archives/2006/06/linuxsystem_bas.html で知りました。 Linux $ date --date "2 day" +%Y%m%d 20061231 $ date --date "1 week" +%Y%m%d 20070105 $ date --date "1 year" +%Y%m%…

ntpdのnotrustにはまる

バージョン。4.1から4.2で意味が変ったとのこと。 restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap上のようなCentOS 3.8のntp.confをUbuntu 6.06に持っていっても動かないわけだ。 CentOS 3.8 ntpd 4.1.2@1.892 Fri May 14 15:49:20 BST 2…