Posts Tagged ‘Linux’

no “setup” command – CentOS

Posted: 12th October 2012 by Babar Shafiq in System Administration
Tags: , , , , ,

  I usually use “setup” to do the firewall setup for permissive or not and setting of SELINUX, etc…. But on a minimal install you don’t have access to setup command, which is my favorite [root@tel ~]# setup -bash: setup: command not found So how to install it in minimal install ? yum –y install […]

  If you recently installed linux (CentOS/Fedora/RedHat) with text mode and now want to use its Graphical GUI which was left unchecked during the installation, you can install it from Internet very easily.

  How to mount a partition from a large disk (above 1TB) that has an EFI GPT partition table instead of the conventional MBR (Master Boot Record) partition table. A large disk means a hard drive that is 1 Terabyte or more. EFI stands for Extensible Firmware Interface. GPT is short for Globally Unique Identifier […]

Mounting Windows based shares in Linux

Posted: 5th August 2011 by Babar Shafiq in System Administration, Tips
Tags: , , , ,

  Mounting Windows based shares on Linux is a relatively simple process. If the share is on a Windows XP, Server 2000 or NT machine you can use the following command: mount -t smbfs -o username=username //server/share /mountpoint However for Server 2003 the above command will not work so you simply change smbfs for cifs […]

If you just forgot our webmin admin password and failed to logging to your webmin account and after several tries your Webmin blocked your IP you need to follow following steps to reset your webmin admin/root/master password:- Login to your box as root. If you are running a RedHat distribution (i.e. Fedora, CentOS, Gentoo), enter […]

The root user can change the password for any other user. However what if you forget your root password? To reset your root password (or any other account’s password for that matter), there are essentially two different situations which require varying approaches When you can use Boot Loaders (GRUB / LILO) If you have GRUB […]