Archive for September, 2009

Let’s Wear Batik on Friday, 2 October 2009 !!!

Bogor. The United Nations Educational, Scientific and Cultural Organization has officially recognized batik as an Indonesian cultural treasure, Coordinating Minister for People’s Welfare Aburizal Bakrie said on Monday.

“We have received notification from Unesco that batik has now been listed as part of Indonesia’s cultural heritage,” Aburizal said after attending a cabinet meeting chaired by President Susilo Bambang Yudhoyono at Bogor Palace in West Java.

Unesco, according to Aburizal, would make public its decision to recognize batik as a unique hallmark of the country’s heritage during a meeting of the Intergovernmental Committee of Intangible Heritage, held from Sept. 28 to Oct. 2 in Abu Dhabi, United Arab Emirates .

To change an user home folder to another folder you can use 2 methods

  • usermod -d /mynewfolder/anotherfolder username

Ex: usermod -d /opt/install myuser to change new default home folder of myuser to /opt/install

  • Edit /etc/passwd and change home folder path of the user

Ex: myuser:x:503:503::/home/myuser:/bin/bash

change to

myuser:x:503:503::/opt/install:/bin/bash

This command is useful if you need to create an user for ftp access, so this user doesnt need to access shell

First try to open /etc/shells  and make sure you have line /sbin/nologin

If you dont have it, you can modify /etc/shells and add one line with /sbin/nologin, then save

Now to create user “hell0w0rld”, use command

useradd -s /sbin/nologin hell0w0rld