1.Download themes fromes gnome-look.org , Unzip the file and move the folder to ~/.icons/
2. open the gconf editor (type alt+ f2 then type gconf-editor , press enter)
3. change the key
/desktop/gnome/peripherals/mouse/cursor_theme
to the appropriate one
4. log off
NB:- tested in ubuntu 10.04
Thursday, February 10, 2011
Wednesday, February 9, 2011
Setting up FTP server
1) sudo apt-get install vsftpd
2) Edit vsftpd configuration file
sudo gedit /etc/vsftpd.conf
anonymous enable = no
#file upload capability
write_enable = YES
#configuring FTP greeting banner
ftpd_banner = "welcome to my ftp server"
#allowing local user to login
local_enable = YES
3) Restart FTP daemon:-
sudo service vsftpd restart
4) check if your ftp server is working:-
ftp localhost
NB:-
1) if you enable user authentication each user will be able to FTP into their home directory in addition to anonymous access
2) you can't download if you dont have write privileges in the directory in which you start FTP
3) Tested in ubuntu 10.04
2) Edit vsftpd configuration file
sudo gedit /etc/vsftpd.conf
anonymous enable = no
#file upload capability
write_enable = YES
#configuring FTP greeting banner
ftpd_banner = "welcome to my ftp server"
#allowing local user to login
local_enable = YES
3) Restart FTP daemon:-
sudo service vsftpd restart
4) check if your ftp server is working:-
ftp localhost
NB:-
1) if you enable user authentication each user will be able to FTP into their home directory in addition to anonymous access
2) you can't download if you dont have write privileges in the directory in which you start FTP
3) Tested in ubuntu 10.04
Friday, January 21, 2011
CD-ROM sharing via samba
# A sample share for sharing your CD-ROM with others.
[cdrom]
comment = Samba server's CD-ROM
read only = yes
locking = no
path = /cdrom
guest ok = yes
# The next two parameters show how to auto-mount a CD-ROM when the cdrom share is accesed. For this to work /etc/fstab #must contain an entry like this:
/dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
# The CD-ROM gets unmounted automatically after the connection to the
#If you don't want to use auto-mounting/unmounting make sure the CD is mounted on /cdrom
preexec = /bin/mount /cdrom
postexec = /bin/umount /cdrom
NB:_ tested on ubuntu 10.04
[cdrom]
comment = Samba server's CD-ROM
read only = yes
locking = no
path = /cdrom
guest ok = yes
# The next two parameters show how to auto-mount a CD-ROM when the cdrom share is accesed. For this to work /etc/fstab #must contain an entry like this:
/dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
# The CD-ROM gets unmounted automatically after the connection to the
#If you don't want to use auto-mounting/unmounting make sure the CD is mounted on /cdrom
preexec = /bin/mount /cdrom
postexec = /bin/umount /cdrom
NB:_ tested on ubuntu 10.04
Wednesday, January 19, 2011
How to set up an automated login using smbclient ?
Ex:-
celsius@gmladmin:~$ smbclient -A samba_credentials //192.168.0.102/scans
Domain=[GIS5] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>
here samba_credentials is a file which contains the user account information.
celsius@gmladmin:~$ cat samba_credentials
username = ************
password = ************
celsius@gmladmin:~$ smbclient -A samba_credentials //192.168.0.102/scans
Domain=[GIS5] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>
here samba_credentials is a file which contains the user account information.
celsius@gmladmin:~$ cat samba_credentials
username = ************
password = ************
Thursday, January 13, 2011
smbget example:-
smbget:-
it is very similar in function to wget.
Ex:-
celsius@gmladmin:~$ smbget -u administrator smb://192.168.0.102/scans/T.tif
Password for scans at 192.168.0.102:
it is very similar in function to wget.
Ex:-
celsius@gmladmin:~$ smbget -u administrator smb://192.168.0.102/scans/T.tif
Password for scans at 192.168.0.102:
Thursday, January 6, 2011
smbtar example:-
smbtar -v -s 192.168.0.92 -a -x programs -u administrator -p **** -t irfan.tar
-a reset archive bit mode
-s Specify PC Server
-x Specify PC Share
-u Specify User Name
-p Specify PC Password
-t Specify Tape device /archive file
-v verbose mode
-a reset archive bit mode
-s
-x
-u
-p
-t
-v verbose mode
Tuesday, January 4, 2011
Make samba follow symlink outside share
O.S --- Ubuntu 10.04 LTS
celsius@gmladmin:~/myshare$ /usr/sbin/smbd --version
Version 3.4.7
[myshare]
follow symlinks = yes
wide links = yes
path = /home/celsius/myshare
valid users = celsius
read only = no
create mask = 0760
[global]
# your addition
unix extensions = no
security = user
see:- http://unix.stackexchange.com/questions/5120/make-samba-follow-symlink-outside-share
celsius@gmladmin:~/myshare$ /usr/sbin/smbd --version
Version 3.4.7
[myshare]
follow symlinks = yes
wide links = yes
path = /home/celsius/myshare
valid users = celsius
read only = no
create mask = 0760
[global]
# your addition
unix extensions = no
security = user
see:- http://unix.stackexchange.com/questions/5120/make-samba-follow-symlink-outside-share
Subscribe to:
Posts (Atom)