0% found this document useful (0 votes)
62 views10 pages

BCSL 63 Solved Assignment

The document is a solved assignment for BCSL 63 for the academic year 2024-2025, authored by Karishma Khatri. It includes various questions related to shell scripting, remote access policy creation, TCP/IP configuration in Linux/Unix, user account management, and DNS server configuration in Windows 2000. Each question is followed by detailed answers outlining the steps and commands required to complete the tasks.

Uploaded by

007anand1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views10 pages

BCSL 63 Solved Assignment

The document is a solved assignment for BCSL 63 for the academic year 2024-2025, authored by Karishma Khatri. It includes various questions related to shell scripting, remote access policy creation, TCP/IP configuration in Linux/Unix, user account management, and DNS server configuration in Windows 2000. Each question is followed by detailed answers outlining the steps and commands required to complete the tasks.

Uploaded by

007anand1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

BCSL 63 SOLVED ASSIGNMENT

2024-2025

SOLVED BY KARISHMA KHATRI


Q1 (8 Marks)
(a) Write a shell script which will accept the PID of a process and display the
details of that process.
Answer:

(b)Create Remote Access Policy. Show how you can change to Remote Access
Logging setting in Windows 2000.
Answer:

Creating Remote Access Policy:

1. Open the Remote Access Policies Console:


o Go to Start -> Settings -> Control Panel.
o Open Administrative Tools and select Remote Access Policies.
2. Create a New Policy:
o Right-click on Remote Access Policies and select New Remote Access
Policy.
o Follow the wizard to create a new policy by specifying the conditions and
permissions for remote access.

Changing Remote Access Logging Settings:

1. Open the Routing and Remote Access Management Console:


o Go to Start -> Programs -> Administrative Tools -> Routing and Remote
Access.
2. Modify Logging Settings:
o Right-click on the server name and select Properties.
o Go to the Logging tab.
o Configure the logging settings according to your requirements (e.g., log file
size, logging level).

Q2.

(a) Write a shell program to scan all the files in a particular directory and list
only those files which start (file_name) with "a" or "A".
Answer:
(b)Install and configure TCP/IP settings in LINUX/UNIX operating
system.Explain with step by step procedure.
Answer:

1. Open Terminal.
2. Edit Network Configuration:

• For most Linux distributions using ifconfig (deprecated in favor of ip), edit the
configuration file:
sudo nano /etc/network/interfaces

• For networkd or NetworkManager, use appropriate tools or configuration files.

3. Set IP Address:

• Add the following configuration to set IP address, subnet mask, and gateway

auto eth0

iface eth0 inet static

address 192.168.1.2

netmask 255.255.255.0

gateway 192.168.1.1

• Replace eth0 with the appropriate network interface name.



4. Restart Networking Service:

sudo /etc/init.d/networking restart

5. Verify Configuration:

ip addr show eth0

Q3.
(a) Create a user account in the LINUX/UNIX Server. Set its password and
define its permission like'an administrator.
Answer:

Commands:

1. Create User:

2. Set Password:
3. Grant Administrative Privileges:

• Add the user to the sudo group (for Debian/Ubuntu)

• For RHEL/CentOS, use:

(b)Configure a DNS Server as a Root Name Server in Windows 2000 Server.


Explain with step by step procedure.
Answer:

• Install DNS Server Role:

• Go to Start -> Settings -> Control Panel -> Add/Remove Programs.


• Click on Add/Remove Windows Components.
• Select DNS and complete the installation.

• Configure DNS Server:

• Open DNS Manager from Administrative Tools.


• Right-click on the server and select Configure a DNS Server.
• Follow the wizard to set up as a Root Name Server:
o Choose Forward and Reverse Lookup Zones.
o Configure DNS zones and records.

• Verify Configuration:

• Ensure that the server is listed as a root server and properly resolves queries

Q4 (a) In LINUX/UNIX system, access your account available at a remote


machine. Download a file from the remote location, modify that file and
upload back to the remote machine.
Answer:

Commands:
1. Access Remote Account:

2. Download File:

3. Modify File:

• Edit the downloaded file using a text editor, e.g., nano or vim.

4. Upload File:

(b)Configure TCP/IP setting in LINUX/UNIX. Assume IP address is 192.168.1.2


and Port is 446.Explain with step by step procedure.
Answer:

Step-by-Step Procedure:

1. Edit Network Configuration:


o For static IP configuration, modify the network settings in
/etc/sysconfig/network-scripts/ifcfg-eth0 (CentOS/RHEL) or
/etc/network/interfaces (Debian/Ubuntu).
2. Example Configuration (CentOS/RHEL):
3. Restart Networking Service:

4. Verify Configuration:

Q5. List and execute the following LINUX/UNIX commands: (8 Marks)


(a) To list all the current users logged in the system.

(b) To print and set the date.

(c) To show the reference and name of the terminal.

(d) To create a new file with name "abc" in the current directory.
(e) To kill a process with its PID

Thanks for watching my video. Subscribe for more videos

You might also like