Posts

how to configure ftp server in linux redhat 7 step by step command

Image
FTP is used to transfer files between computers on a network. You can use FTP to exchange files between computer accounts, transfer files between an account and a desktop computer, or access online software archives. =>   Install     vsftpd for   FTP Server =>    #yum install vsftpd.x86_64 –y =>  Then   start the service =>  #systemctl start vsftpd =>  Now check the status =>  #systemctl status vsftpd   =>  #Now check ftp server working or not    =>  #firefox ftp://192.168.1.10( Server IP)    => Now you will able to see the data on ftp server Thank You...

interview Questions on User Management in Linux

=> What will be the ownership of files owned by a deleted use? => How to change user’s home direcroty, login shell, uid , gid etc? =>  How to set ACLs so that the directory’s created in a ACL applied directory get inherited ACLs set? =>  Explain /etc/default/useradd =>  How to assign a duplicate uid to a user ? =>  How to recover a corruted/damaged password file ? =>  pwconv and pwunconv command? => H ow will you differentiate a primary and secondary group? =>  How to add more than one secondary group to user ? =>  finger command? =>  How to force a user to change its password on first login attempt? =>  Can you edit /etc/passwd, /etc/shadow and /etc/group files ? =>  What is configuration file for sudo and how to write in it ? =>  How to assign sudo access to a user ? =>  What is the meaning for three ALLs in assigning sudo access ? =>  How to assign the sudo access ...

How to configure Mail Server in Redhat Linux

Image
An email message is created using a mail client program. Mail is digital messaging service and which generally consists of a message body . =>   These are the most commonly used in the transfer of email Simple Mail Transport Protocols (SMTP-Port 25) delivery from a client application to the server, and from an originating server to the destination server, is handled by the  Simple Mail Transfer Protocol  ( SMTP ). =>  Mail Access Protocols POP (Post Office Protocol):  -( P ort 110 ) It  is an email accessing protocol used to receive mails from a mail server and  POP  will download all emails from the server to the user’s computer. IMAP (Internet Message Access Protocol):- ( Port 143 ) It   is another email accessing protocol however it is used to access the mails from the server.IMAP will synchronize a copy of the mail on the server to the user’s computer. All mail data is kept on the server as well as the user’s computer until they ...

Kernel and Module Interview Questions

=>   How to check the machine’s architecture ? =>   How to check the current kernel version running ? =>   How to see whether a module is loaded or no ? =>   How to load/unload a module ? =>   Where are kernel modules stored ? =>   How to find information about a module ? =>   How to upgrade your kernel ? =>   How to set kernel parameters?

SAMBA Server Configuration in Redhat Linux 8 and Redhat 7

Image
=>  Samba provides server and client software to allow file sharing between Linux and Windows machines. => Default Port : "445" => Daemon : "smb" => Install SAMBA Server   =>  # yum install samba* -y => Enable the samba service =>  #systemctl enable smb => Now start the service =>  #systemctl start smb => Disable the firewall or add the samba port =>  #systemctl stop firewalld =>  #systemctl disable firewalld => Create directory for sharing =>  #mkdir shared_folder => Assign full permission   =>  #chmod 777 shared_folder/ => Create users  =>  #adduser sam =>  #adduser tom => Make users as "samba" users =>  #smbpasswd -a sam =>  #smbpasswd -a tom => Configure the samba file   =>  #vim /etc/samba/smb.conf => Add the following lines :  => Save and exit => Restart samba services =>  #systemct...

File Permissions Interview Questions

Image
 

Redhat NFS and SAMBA Interview Questions

Image