Archive for July, 2010

Odd characters while copying from SMB mounted drive to local Linux folder

Wednesday, July 7th, 2010

Since this happened with filenames with euro sign or accented characters or dollar signs, the solution is to specify the mount options as follows: smbmount -o iocharset=utf8 //servername/folder /mnt/localmountpoint

Adding bunch of users in Linux in batch mode

Monday, July 5th, 2010

As usual, the main source for writing articles here is a need I had and a solution I found ;) This time the need was to add a series of users in a Linux system without repeating the command useradd one zirillion of times. First, we need to populate a text files ...