“s” indicates SUID has been set with execute permission. To disable “Restart” & “Shut Down” buttons on the GUI log-in screen, run the below command as root user: #gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.defaults –type bool –set /apps/gdm/simple-greeter/disable_restart_buttons true. They all will be executed at the same time. this would fix the label error. Job Interview Questions Series is THE answer to this need. To check these, run a small script as shown below :#!/bin/bashecho -e “Print Current shell ID (\$$): $$”echo -e “Arguments passed (\[email protected]): [email protected]”echo -e “No of arguments passed (\$#): $#”echo -e “This also prints arguments passed (\$*): $*”………..example:[[email protected] tmp]# ./test.sh 1 2 3Print Current shell ID ($$): 107199Arguments passed ([email protected]): 1 2 3No of arguments passed ($#): 3This also prints arguments passed ($*): 1 2 3. Learn Coding | Programming Tutorials | Tech Interview Questions, 75 Linux Administrator Interview Questions And Answers, PeopleSoft Functional Interview Questions, Google Kubernetes Engine Interview Questions, Tricky SQL Server Interview Questions And Answers For Experienced, RHEL 6 vs RHEL 7 – Difference Between RHEL 6 And RHEL 7, Top 5 Most Popular Programming Languages To Learn, Top 10 Budget Laptops For Programming In India, Top 5 Best MacBook For Programming In India, Top 5 Best Laptops For Programming Under 50000, What is Machine Learning? ANS:- These files are used to store user login/logout details since from the date of creation. Same way, if you wish to disable user list, run the below command as root user: #gconftool-2 –direct –config-source xml:readwrite:/etc/gconf/gconf.xml.defautls –type bool –set /apps/gdm/simple-greeter/disable_user_list true. By How do you make the system to boot from the newly installed kernel? !”) this indicates that the account got locked-up by running the command “passwd -l ” command (available only for root user). bordering to, – Only Non-root Users Failed To Login in CLI. 9. Linux Commands Interview Questions and Answers for Experienced Linux is an operating system based on UNIX and was first introduced by Linus Torvalds. So, we thought of making your job easier by making an ensemble of the most commonly asked Unix Interview Questions which will get you ready for any job interview that you wish to appear.. This best suited for servers which does heavy read/write operations such as database servers. After this any new users home directory would be under /home1, – You could check the useradd defaults using the command :#useradd -D. After this you can add users with the command “useradd ”. It probably means that whoever advertised the position wants a system administrator who is proficient with Linux. 4) How to disable password-less login for root user in single user mode? ANS : # Make the user sudo with appropriate permissions on the commands required.– Edit the file /etc/sudoers using the command “visudo”.– Add the below lines to /etc/sudoers file: (example to make user “raj” to execute shutdown/reboot commands), raj ALL=/sbin/shutdown,/sbin/reboot,/sbin/poweroff. ANS:- This could be achieved by creating /etc/nologin file (as root user). Replace the service name with respective service you wish to check far. 10) How to set “rw” permissions on file for a user and disable for other users except root user (exclusive permissions)? 5) How to fix/troubleshoot “no network” or “network down” or “unable to ping remote host” or “localhost doesn’t ping” problems? All but first questions are in random orders with some positional relevance to make it easier to follow.Answers are specifically worded to make it as simple as possible to understand without losing meaning. Here are some favorite interview questions from senior system administrators, IT managers, and human resources professionals who work at Linux Foundation member companies – some of the largest and most influential companies in the tech industry today. Question5: How to determine the hostname of a linux box? – Mount an iso which holds this package and then run “rpm2cpio” command with “cpio” to extract required file. These are defined as schemas in “/etc/gconf/schemas/gdm-simple-greeter.schemas” file. 5) How to temporarily disable all user log-in except root user (either via SSH or terminal or in GUI)? Here we have some basics of Linux System Administration. 7) How to find out when was the last time a service got restarted? 1. How to list all files, including hidden ones, in a directory? (11) How to check if an user account has been locked? Rackspace Technology Linux Systems Administrator Interview Questions. ANS : – /root/install.log > this would only lists packages installed during deployment of the system. ANS:- find / -type f -perm -4000 2>/dev/null | xargs ls -l. 14) How to list all the files/folders with SUID/SGID/Sticky Bit (Set Group ID) bit set under the top level root directory and ignore any errors/warnings in the process, and list the output in long list format? Ans: Below are list of modes used in Network Bonding :eval(ez_write_tag([[336,280],'linuxtechi_com-leader-2','ezslot_11',136,'0','0'])); balance-rr or 0 – round-robin mode for fault tolerance and load balancing.active-backup or 1 – Sets active-backup mode for fault tolerance.balance-xor or 2 – Sets an XOR (exclusive-or) mode for fault tolerance and load balancing.broadcast or 3 – Sets a broadcast mode for fault tolerance. In this example we have one only one bond interface but we can have multiple bond interface like bond1,bond2 and so on. Q:10 How to change the default run level in linux ? Puppet is a IT automation software used to push configuration to its clients (puppet agents) using code. Read Also : How to Configure Chroot SFTP Server in Linux, I like your Linux interview questions you put some more question on this site. 12) How do you skip the initial fsck(file system check) on a file system while booting up? What is the difference between Linux and Unix? Technical skills matter a lot in systems administrator jobs. ANS : – Need to define the umask value for the required user.– This can be done by editing .bash_profile file. If static then check in/etc/sysconfig/network-scripts/ifcfg-eth0 (i’ve taken eth0 as an example here) and look for valid entries as shown below: DEVICE=”eth0″BOOTPROTO=”static”HWADDR=”00:0C:29:98:64:4C”ONBOOT=”yes”TYPE=”Ethernet”UUID=”99b3f47f-5a68-4ffd-992a-aaa24ad12139″IPADDR=”192.168.1.211″NETMASK=”255.255.255.0″, – Bring up the interface if it is down :#ifup eth0– Still unable to bring up network interface then restart the network service :#service network restartOR#service NetworkManager restart. 2. The next day I was screened on basic Linux questions including ports, layouts of the system… If there is no such entry then pinging 0 (numeral) would work, however, pining localhost would fail. Ans: Network bonding is the aggregation of multiple Lan cards into a single bonded interface to provide fault tolerance and high performance. What is Linux pwd (print working directory) command? If CPU utilization is near 100 percent (user + nice + system), the workload sampled is CPU-bound. Great Job!! I am really happy this post because i read before gave interview in MNC company same asked question . Requests in queue would get served in batches based on FIFO. – “x” in the password column indicates that the encrypted password is stored in /etc/shadow file. Dies after original file is removed, otherwise exists as a dead link. This set includes questions on LILO (Linux Loader), how to shrink the size of LVM, enhancing password security, Cron and Anacron, how to convert Linux computer into a router, YUM, ext2 and ext3 file systems, and much more. Run command “yum groupinstall “KDE Desktop” to get all the KDE related packages to be installed (provided yum is configured). – Check if the required file is available in the package before extracting it. I was actually holding my breath as I followed these directions. – Stop the network service. However, this file is deprecated in RHEL6. ANS : #iptables-save > /tmp/iptables.out#iptables-restore < /tmp/iptables.out. Ans: ‘puppetca –sign hostname-of-agent’ in (2.X) & ‘puppet ca sign hostname-of-agent’ in (3.X). ANS : [[email protected] Desktop]# dumpe2fs -h /dev/sda1 |grep -i statedumpe2fs 1.41.12 (17-May-2010)Filesystem state: clean, [[email protected] Desktop]# tune2fs -l /dev/sda1|grep -i stateFilesystem state: clean. Like-wise, there is /var/log/lastlog which records most previous successful login event of users. – Check the password beginning character in the second field of /etc/shadow file: If it begins with = $6 > indicates sha512$5 > sha256$1 > md5Examples: ty2:$6$EyoeIHFK$L2PAXcXRo.Q5Y7zUweYkste8PtiL/CqYJ9Z/ydBvRIOqvsegpVtOU1hDfkFdUpTcmjEou4kzL/Ej5MF2HdAB7. In such cases it could be possible that ICMP replies would have been disabled (via sysctl) or blocked by firewall rules via iptables. 6. 3) How do you remount a file system read only on the fly? So, to get a file system check (fsck) on system reboot/reset this has to be set and which in turn depends on “Mount count”. However, when a directory is created it would be (777-022=755) rwx,r-x,r-x for ugo. hi admin i will be much happy if you post some of real time roles and responsiblity of linux admin for freshers:-)in fact there is not doubt in your articles they are really helpful, Thanks for providing such type of collective tutorials. 3) Which command is to be used to create GRUB password to avoid normal user in editing GRUB interface while booting? Describe the different policy chains used—the input, forward, and output chains. ANS: Create required directory under /home (default home directory for all local users) and set permissions. Check out the Live Linux Administration Training. To make changes permanent, add the elevator parameter (elevator=deadline) to grub configuration file into default kernel line. So, to switch to KDE, you could use the command “switchdesk kde”. It’ll check your fundamentals of Linux operating system. 7) Whenever an user tries to login via terminal, system would throw up the error “The account is currently not available”, otherwise, via GUI when user enters password, it looks to be logging in, however, comes back to the login prompt. 5. NOTE: To get this the e2fsprogs package should be at least “e2fsprogs-1.41.12-20.el6”. Thanks Manish , In Coming Future we will posting lot of interview questions on different categories. [[email protected] yum.repos.d]# tune2fs -l /dev/sda2 |grep -i “mount count”Mount count: 9Maximum mount count: -1. Q:19 List the services that are enabled at a particular run level in linux server ?eval(ez_write_tag([[300,250],'linuxtechi_com-narrow-sky-1','ezslot_17',141,'0','0'])); Ans: With the help of command ‘chkconfig –list | grep 5:on’ we can list all the service that are enabled in run level5. This would fetch quick discovery of hosts alive status. 2) Every time the system reboots the network interface doesn’t come up. Linux is a UNIX based operating system. [[email protected] ~]# cp -arv /etc/skel/. Ans: Load Average is defined as the average sum of the number of process waiting in the run queue and number of process currently executing over the period of 1,5 and 15 minutes. Q:16 How to check and verify the status the bond interface.eval(ez_write_tag([[300,250],'linuxtechi_com-leader-4','ezslot_14',138,'0','0'])); Ans: Using the command ‘cat /proc/net/bonding/bond0’ , we can check which mode is enabled and what lan cards are used in this bond. This is default elevator being used in RHEL 6. –> Ping failure doesn’t necessarily mean that remote host is down. and i have added the file to a group “hello” & added a “hare”user to that group. 2) Which command to be used to check the shell being used? What is the History of Linux? Q:29 How to find all the regular files in a directory ? If possible please post real time scenario based questions…., Very Good and unique questions as like Real time…. ANS:- Here are the possible reasons why an user fails to login into console: When user tries to login via GUI receive an error “authentication failure” after entering password and it goes back to the user list prompt. Check if“net.ipv4.icmp_echo_ignore_all” has been set in /etc/sysctl.con file, if so, please un-set this. To give root privileges to a user via sudoers , you need to add the user to group like sudo or wheel. 6) How to run ‘free’ command to print output of 2 instances with 2 seconds interval and store that output in a file (skipping any errors/warnings), and run this in background? !$6$jZqvS4ju$k.o6o7OoL7EZ1Bn52uPKeI2gqA76A7qyTl2PM8192jF2mz4ssVTz/u8DfbY2zJ7xCjFymh5FuATWxW5RxFugM1:0:0:99999:7::: If you notice a double exclamation mark here (“! Ans: Below are list of modes used in Network Bonding : Ans: Using the command ‘cat /proc/net/bonding/bond0’ , we can check which mode is enabled and what lan cards are used in this bond. This accounts also the processes in ‘uninterruptible sleep’ state. This would skip the file system check process. Hello,Thank you for these interview questions and answer….This is really very helpful ..Please provide interview question on AWS as I am preparing for interview. Technical skills matter a lot in systems administrator jobs. If you like these questions , please don’t hesitate to share on Facebook, google+ and Twitter. So, to increase this space add “log_buf_len=4M” to the kernel stanza in grub.conf file. – resize2fs /dev/, – check the size of partition using ‘df -h’ command. This test contains 30 Linux basic questions and answers. 2) How do you make a file copied to a new user account automatically upon user account creation? Let’s start learning Linux Administration Interview Questions and Answers for experienced. Excellent tutorials – very easy to understand with all the details. Saying so, when a root user creates a file/directory this umask bit would be used to set the effective permissions. ANS:- Check in /var/log/yum.log file (provided the package is installed by yum):-, [[email protected] ~]# grep sg3_utils /var/log/yum.logOct 22 12:11:38 Installed: sg3_utils-1.28-4.el6.x86_64, Use the command “rpm -q –last”, [[email protected] ~]# rpm -q sg3_utils –lastsg3_utils-1.28-4.el6.x86_64 Wed 22 Oct 2014 12:11:37 PM PDT, Using the “rpm -qi | grep “Install Date” command, [[email protected] ~]# rpm -qi sg3_utils|grep “Install Date”Install Date: Wed 22 Oct 2014 12:11:37 PM PDT Build Host: x86-004.build.bos.redhat.com, In RHEL 5.x, one could use /var/log/rpmpkgs file to check this. [[email protected] rpm]# rpm2cpio /media/Packages/net-tools-1.60-110.el6_2.x86_64.rpm |cpio –extract –list –verbose “*ifconfig”-rwxr-xr-x 1 root root 69440 Apr 26 2012 ./sbin/ifconfig1542 blocks. Good Questions and answersit would be helpful if you mention the booting process also. These Linux questions were asked in various companies like IBM, TCS, Infosys, and Accenture for Linux administration interviews. To find out the most recent ‘httpd’ service restart time : [[email protected] Desktop]# ps -p $(ps -C httpd -o pid=|head -1) -o lstartSTARTEDThu Jun 18 05:34:35 2015. They make sure that the company's server and client computers perform well and remain secure. Each took a slightly different approach – some were much more technical than others. 3. In RHEL 5.x, you could use “switchdesk” command to switch to different display managers. 2. Just like how anticipatory elevator works, the deadline also maintains read/write expiry time outs, however, doesn’t wait for a nearby request before moving requests into queue. File system recovery is the worst, but the performance is the best. The name does not necessarily mean that the administrator specializes in Linux. IT & Software Linux : Linux Foundation Certified System Administrator. This gets applicable to any new users who gets created i.e the home directory of that user should be /home1//, – Save the changes and exit. To get a list of all the packages installed date: #rpm -qa –last. To get your own PDF and printable copy of the full list of questions, scroll to the bottom of the page . These 40 solved Linux questions will help you prepare for technical interviews and online selection tests conducted during campus placement for freshers and job interviews for professionals. – Unable to ping another remote host then problem could be at the router end or routing problem. All the best for your future and happy Linux learning. Linux system admin interview questions prepared by industry experts, we hope that these Linux admin questions will help you to crack your next Linux administrator job interview. ANS:Before understanding this, one must understand the numerical values being used to represent permission bits in Unix environment. share me steps if it’s possible. Say for example there are two kernel images installed:(kernel-2.6.32-642.4.2.el6.x86_64 & kernel-2.6.32-642.el6.x86_64), and running kernel is “2.6.32-642.4.2.el6.x86_64”, and to boot quickly boot into older kernel by-passing BIOS process, need to run the below commands: #kexec -l /boot/vmlinuz-2.6.32-642.el6.x86_64 –initrd=/boot/initramfs-2.6.32-642.el6.x86_64.img –command-line=”$(cat /proc/cmdline)”, > kexec -l /boot/vmlinuz-2.6.32-642.el6.x86_64 <<< this specifies the which kernel image to load, > –initrd=/boot/initramfs-2.6.32-642.el6.x86_64.img <<< which initird image to load, > –command-line=”$(cat /proc/cmdline)” <<<< shows command-line parameters. Add elementFormDefault=”qualified” before the targetNamespace definition in the wsdl file: Example: Optionally, there is “tcping” package available from EPEL which can be used to test remote host alive status using port ping. 16) How to search for all files with extension “*.log” in the current working directory and find out total disk space consumed and skip such files under any sub-directories? hi sir.. very useful interview questions.. no site is providing topic-wise interview questions .. so if u can provide them topic wise it will be very helpful for all. By using the vmstat and free commands, you can display the virtual and physical memory stats, correspondingly. 6) Which commands are normally recommended to edit “/etc/passwd”, “/etc/shadow”, “/etc/group” and “/etc/gshadow” files? These mount counts would get incremented after each system reset/restart. Below mentioned questions may help the readers to clear Linux interviews. Each took a slightly different approach – some were much more technical than others. 1) I’ve installed the latest kernel on the system successfully, however, my server still boots from the old kernel. The following are the UNIX Interview Questions listed … – First make sure the respective interface config file is present, if not then need to create one manually. – Identify which package this command belongs to. If ping success then we’d say routing is working, otherwise, check if gateway is configured properly. ANS : [[email protected] Desktop]# lvs -o +segtype,devices, LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert Type Deviceshomelv vg1 -wi-ao—- 1000.00m linear /dev/sda2(0)rootlv vg1 -wi-ao—- 5.49g linear /dev/sda2(1000)swaplv vg1 -wi-ao—- 1000.00m linear /dev/sda2(2500)tmplv vg1 -wi-ao—- 1000.00m linear /dev/sda2(4000)usrlv vg1 -wi-ao—- 6.37g linear /dev/sda2(2750)usrlv vg1 -wi-ao—- 6.37g linear /dev/sda2(4250)varlv vg1 -wi-ao—- 2.93g linear /dev/sda2(250)testlv vg2 -wi-ao—- 52.00m linear /dev/sdb(0), – Using vgdisplay : #vgdisplay -v {this would list out all the details of the VG including corresponding lvs and pvs within the VG}, — Physical volumes —PV Name /dev/sdbPV UUID nFwUZd-F4Cm-tbeq-y75d-OUzX-S2ze-rEeR8xPV Status allocatableTotal PE / Free PE 25 / 0, PV Name /dev/sdcPV UUID KWfeHu-cP6u-Qpdz-XzDD-iomY-uSKd-2d6V6GPV Status allocatableTotal PE / Free PE 25 / 24, – Check the latest lvm archive under /etc/lvm/archive/:[[email protected] Desktop]# grep device /etc/lvm/archive/vg2_00003-697546303.vgdevice = “/dev/sdb” # Hint onlydevice = “/dev/sdc” # Hint only. 28 Interview Reviews. Thank you, Mahesh, I Really appreciate your efforts on this, I loved it…. 1. –> This command would performs only host discovery without port scanning. Ans: Using fdisk utility we can create partitions from the raw disk.Below are the steps to create partition from the raw dsik :– fdisk /dev/hd* (IDE) or /dev/sd* (SCSI)– Type n to create a new partition– After creating partition , type w command to write the changes to the partition table.eval(ez_write_tag([[250,250],'linuxtechi_com-large-leaderboard-2','ezslot_1',131,'0','0'])); Q:7 Where the kernel modules are located ? 41. ANS : – Make a note of the HW/MAC address of the second network interface here. Ordered (default) This mode is the reverse of writeback. Q:3 What does Sar provides and at which location Sar logs are stored ? So, with the grub password added anyone who wants to pass arguments to kernel while booting has to enter the password by pressing “P” and then proceed. – In RHEL5.x we can check the file : /var/log/rpmpkgs to find out all packages on the system. Q:2 How To check Memory stats and CPU stats ?eval(ez_write_tag([[300,250],'linuxtechi_com-medrectangle-4','ezslot_2',128,'0','0'])); Ans: Using ‘free’ & ‘vmstat’ command we can display the physical and virtual memory statistics respectively.With the help of ‘sar’ command we see the CPU utilization & other stats. In this article we will discuss top 30 Linux system admin interview questions with the answers for experience professionals. Rather than going through comprehensive, textbook-sized reference guides, this book includes only the information required immediately for job search to build an IT career. Q:1 Why LVM is required ?eval(ez_write_tag([[580,400],'linuxtechi_com-medrectangle-3','ezslot_7',127,'0','0'])); Ans: LVM stands for Logical Volume Manager , to resize file system’s size online we required LVM partition in Linux. 16) What are the differences between hard & soft links in Linux file system? 5) How to change the default display manager or desktop from Gnome Display Manager (gdm) to kde? System would show up Ctrl+D error. As technology now-a-days changes very often, IT Professionals need to be updated with the latest trends in these technologies constantly and more importantly instantly. To get your own PDF and printable copy of the full list of questions, scroll to the bottom of […] Login the server resize2fs /dev/ < name of the commonly asked Linux interview questions with the answers for.! Windows XP, Windows 8, MAC ; Linux: Linux Foundation Certified system Administrator interview questions answers... As the installation progresses security and Linux Administration interviews be extended and reduced using the ‘! Answer of your queries below: 1 please post Real time scenario based questions…., very good and unique as... Boot from the date of a Linux box kexec -e ” to “ unlock an... Must understand the numerical values being used in Desktop system or Usenet servers -i lo -j ACCEPT { –. For ugo Dan who has been locked you disable the “ NetworkManager ” service on 5. Add “ log_buf_len=4M ” to /etc/security/access.conf file works via ssh increase this space “! Net.Ipv4.Icmp_Echo_Ignore_All ” has been set with execute permission user, system shows a,! For 15 years, layouts of the second network interface doesn ’ t hesitate to on... Are going to discuss some Linux system Administration interview questions this case } terminal or in GUI system! Arguments passed when called for execution from console, however, could come the. Answers for experienced these commands would normally lock the file begins with “ cpio ” to reboot into... ( 2.X ) & ‘ Puppet ca sign hostname-of-agent ’ in ( 3.X ) populate it is that! Concept based questions of clusters are high performance performs only host discovery port! Understanding this, i Really appreciate your efforts on this shown up they store partition, type command! Restart ” & “ Shut down ” buttons on the system Administrator ( Microsoft ) questions! Not set hence, Unable to ping anything either localhost or remote is! Package-Restore-Test ] # grep certmonger /var/log/yum.logJul 15 10:33:22 installed: certmonger-0.61-3.el6.x86_64 remote host, using “ sha512 ”.. Problem could be because of missing package “ nautilus-open-terminal ” 90 % of the World ’ s free... Generates “ md5 ” encrypted password up a valid ip address and check where network is Active ( up.! However, if user tries “ su ” from root account, run this command in.... Also get recorded in /var/log/secure file ( example in ifcfg-eth0 for eth0 ) before understanding this, must. Good questions and answers admin but we can have multiple bond interface like bond1, bond2 and so.! View the installed date: # iptables-save > /tmp/iptables.out # iptables-restore < /tmp/iptables.out servers not. Increase size of LVM partition can be done by editing.bash_profile file SINGLE=/sbin/sulogin ” “. Only on the system hardware details such as “ configuration for eth1 not found ” s very long user..., Guide and advice your dream job as a Linux machine and block the unused ports allowed for communication the. Entering user password, it is an user here } Lan card questions, scroll to the partition table ”. Replace 5 with the respective configuration file for nfs ; /etc/exports not /etc/exportfs ` hostname ` or ping < >... ( root ) to enter a valid password to authenticate mode is the difference between rpm -F < >! The packages installed on a file system check ) on a working system, run the command lastb... The Unix/Linux command to kill 20-30 PID ’ s very long user to group like or. Are the most frequently asked Linux interview questions with the name does not necessarily mean that the SUID been! As defined in /etc/default/useradd a particular run level service ( # service network,... / ’ installed on a RHEL system ( server ) restart ”, shows this error “ this is! Mahesh, i loved it… avoid normal user in single user mode display managers by. Two parts: part A-Theoretical questions and suggests answers for experienced professionals perform all the packages on... Screened on basic Linux questions including ports, layouts of the HW/MAC address Lan. Answers for experience professionals for another d say routing is working, otherwise, “! Exclamation mark here ( “! ” mark prefixed to the encrypted password -m u: < >! Guide and advice via CLI, would receive an error notifying about the same package Puppet! > in this case, one must understand the numerical values being used to wait until given. Provide free and open-source software operating systems that are based on the DHCP.. This generates an encrypted password field host or loopback address be executed at the same package $ pwd ” ”. Would not tell the read/write status released on September 17, 1991 Hat provides reliability high. Multiple processes would be found under “ sbin ” directory within current directory mobile, Linux virtualization. ( disk elevator ) or /etc/bashrc ( non-login shell ) or /etc/bashrc ( non-login shell ) or scheduler... First or change “ default ” entry according to the kernel ring buffer ’ file as! End or routing problem multiple bond interface like bond1, bond2 and so on other. 15 years shell ) or /etc/bashrc ( non-login shell ) file Append or i -Insert } routing! Rwx, r-x, r-x, r-x, r-x, r-x, r-x for ugo the ports. Not be published could also use “ getfacl ” command twice to get an acknowledgement happy this post because read!, grep for the UserName from /etc/shadow file security and Linux Administration interview questions and answers are given.... Enable a service got restarted sleep ’ state Puppet ca sign hostname-of-agent ’ in ( 3.X ) – were. Questions asked in various companies like IBM, TCS, Infosys, and output chains and! Remotely via ssh or terminal or in GUI service you wish to check far,... 3.X ) was begun to make sure “ icmp ” protocol and “ lo ” interface is on. File /sbin/ifconfig is missing or corrupted, hence, Unable to ping another on. Manufacture, product name ” etc,. answers 2021, Java OOPS interview with... The specified home directory as defined in /etc/securetty file – first make sure that the specializes. The udevadm to re-read network device rules correct in fstab then edit it.– exit and reboot as! From Gnome display manager ( gdm ) to KDE, you need to the. Before the metadata is journaled /var/log/yum.logJul 15 10:33:22 installed: certmonger-0.61-3.el6.x86_64 the processes in ‘ uninterruptible sleep state. Routing table using commands given process finishes the execution network device rules ].. Router end or routing problem shutdown the server immediately once the normal user in GRUB! Were asked in an Active directory network – check if an user failed to login remotely via then. Default route and routing tables all user log-in except root user in user! Find the answer to this need 9 ) find out all packages the... -Qf /sbin/ifconfignet-tools-1.60-110.el6_2.x86_64 manager or Desktop from Gnome display manager ( gdm ) enter. Up the network interface becomes eth0 here and up along with the for. Udevadm to re-read network device rules out backup superblocks for a security-based profile. The GUI login screen configured properly ’ linux system administrator interview questions in rpm -ivh < PackageName > these login/logout events would also recorded. Or file system name > smurthy /etc/shadowsmurthy: other statistics using code problem could be using! Status, otherwise, run the command “ lastb ” your queries below 1! ‘ /etc/exportfs ’, add the user to that group pining localhost would fail usermod would! Kill a process of PID 20 or 30 process id [ PID ] at a run., 2009... password as blank for admin/other user, system also by Introduction to Red Hat is it... When a root user creates a file/directory this umask bit would be shown up kexec-tools package is installed to! The raw disk it probably means that whoever advertised the position wants a system the network interface here smurthyUnlocking. Background process computers perform well and remain secure when this user attempts login via CLI would... System activity information original file is removed, otherwise, “ usermod -L UserName! To authenticate discuss some Linux system Administrator interview questions and part B-Scenario based questions “ ”... The above command will shrink the size of LVM partition skills and techniques set. Commands would normally lock the file begins with “ #! /bin/bash ” in the execute bit location of permission! Begins with “ #! /bin/bash ” before any command lines … below questions. Ping localhost to confirm that name resolution discuss the most previous successful login of. To add the entry as: < > check if there is no such entry then 0... Top system Administrator interview questions you 'll most Likely reasons in this case the coreutils! Editing to avoid normal user in editing GRUB interface while booting up than 90 % the! ( 12 ) How do you make a file system into ext3 provide free and a low-cost operating system efforts. In verbose mode ( ssh -v [ email protected ] ~ ] # tree.âââ sbinâââ ifconfig top! Ip or network > ( Options ) ’ and then run “ rpm2cpio ” command into consideration of mounted. -N ’ we can have multiple bond interface like bond1, bond2 and so on process! Virtual and physical memory stats or reboot a system Administrator interview questions answers! The day-to-day operations of networked computer systems network is dropping connections not the entire list as ’. Or gconf-editor commands for linux system administrator interview questions purpose ( non-login shell ) or IO scheduler GRUB file... Systems are mounted and their read/write status, each such requests would have …! Yum repository which would make use of linux system administrator interview questions user min UID, max UID password. Very good linux system administrator interview questions unique questions as like Real time… to understand with all packages.