After a customer had performed some bad edits on various LDAP configuration files, users were locked out and unable to access the system. Root could still login however.
I logged in as root, and rather than mess with various config files, eg under /etc/pam.d, ran this command to disable LDAP authentication and enable “normal” authentication using /etc/shadow:
– Scan New Hardware:
– For Physical Volumes:
– For Volume Groups:
vgextend VGNAME PVNAME
lvextend -L+50G LVNAME
file, group, lvextend, LVM, pvdisplay, pvscan, redhat, system, vgdisplay, vgscan, volume
LVM :- Logical Volume Manager and it’s a disk Management for Linux/UNIX Systems.
Reports info about the cpu and processing units.
Reports detailed/brief info about multiple hardware units like cpu, memory, disk, network adapters etc.
df, free, hardware, hdaparm, info, inxi, linux, lsblk, lscpu, lshw, lspci, lsscsi, mount
you can uncompressed zipping files using java, specially “jar” command:
to do that , try the following :
/usr/java6/bin/jar -xvf /tmp/test.zip
The Following points shows the meaning of each run level :
0 – halt
1 – single user
2 – multiuser (default)
3 – same as 2
4 – same as 2
5 – same as 2
6 – reboot Continue reading
run the following command to know your current run level:
# who -r
run-level 2 2013-12-20 00:39
if you want to get your operating system relase you have 2 ways to do that:
First: you can run the following command:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
when you login to the system you get a welcome message which contain information about “Last unsuccessful login” , “Last login” and System Information.
if you need to disable this message, just run the following command :
some times you transfer files from windows to Linux or UNIX using binary method, you will find some hidden characters on the file, to display these hidden character use commands “cat” with option “vte” see the following examples: