Monthly Archives: February 2010

24 02, 2010

Issue : date: cannot set date: Operation not permitted

By |February 24th, 2010|Issues|1 Comment

To fix the issue: # vzctl stop <veid> # vzctl set <veid> --save --capability sys_time:on # vzctl start <veid> # vzctl enter <veid> # mv /etc/localtime /etc/localtime.bk # ln -s /usr/share/zoneinfo/Asia/Calcutta /etc/localtime or set time by: date -s "2 OCT 2006 18:00:00"

23 02, 2010

Set Timezone on Linux Machine

By |February 23rd, 2010|Issues, Server Setup|0 Comments

ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime Using TZ environment export TZ=Asia/Calcutta date

3 02, 2010

display cronjob of all users

By |February 3rd, 2010|Scripts|1 Comment

for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done

Load More Posts