Mounting SMB in RHEL

Mount SMB (RHEL)

in /etc/fstab
//ntserver/share /mnt/ntserver cifs username=vnmr1,password=password 0 0

on CLI
mount -t cifs //ntserver/share -o userrname=vnmr1,password=password /mnt/ntserver

Similar Posts

  • ACPI Errors on Ubuntu bootup

    You can get rid of those ACPI Error messages by 1. Open ‘/etc/default/grub’ in an editor with root access. In your case I believe Ubuntu uses gedit as it’s text editor Code: 2. The line with ‘GRUB_CMDLINE_LINUX_DEFAULT’, add the loglevel=3 part. The original looks like GRUB_CMDLINE_LINUX_DEFAULT=’quiet splash’ Change it to this: Code: Then save the…

  • RHEL 6 Samba

    Samba and Samba Client Samba allows both RHEL resources to be shared with Windows systems and Windows resources to be shared with RHEL systems. RHEL accesses Windows resources using a package named samba-client. RHEL resources, on the other hand, are shared with Windows systems using a package named samba. Typically, the samba-client is installed and…

  • Make Bootable USB Drive

    Make Bootable USB Drive with RHEL 6.3 Copy all files for image to a directory, RHEL63KS. Make the iso image file by typing the following command: mkisofs -o boot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -V RHEL63KS -T ./RHEL63KS This will create a file called boot.iso. Rename this file, RHEL63KS.iso. Insert…

  • Mount Windows Share on RHEL

    In CLI    mount -t cifs //ntserver/dir -o username=user,password=pass /mnt/ntserver    In /etc/fstab    //ntserver/dir   /mnt/ntserver   cifs   credentials=/root/.smbpasswd,file_mode=0777,dir_mode=0777   0   0 Then create a file /root/.smbpasswd  with permissions set to 600    username=user    password=pass In /etc/hosts add IP address of ntserver.