6. Now define a new user
➔
mkdir /tmp/share
➔
adduser smbuser
➔
passwd smbuser
“Give a password now”
➔
smbpasswd -a smbuser
“Give a password again”
Now restart a samba one time again
➔
service smb restart
7. Now make a file to share, which we
are going to see on windows
➔
cd /tmp/share
➔
touch acme
➔
vi acme
write whatever u like and save it.
➔
ifconfig
➔
echo 0 > /selinux/enforce
8. Now go at windows
go to Run and insert the IP address of the linux
●
192.168.1.100
Now login page will appear
login over there and you will see the share file of
linux
9.
10. Command change
Kunai pani command lai aafu lea vanako jasto name
ma change garna paryo vanee::
●
ls -a
●
vi .bashrc
●
alias nik='clear'
Now restart your Linux one time and then
●
If you type “nik” it will clear your screen like clear
do
11.
12. To change password
If you are already at first you have to go at safe
mode:
●
init 1
●
passwd
now give a new password
But what to do if u forget password at first::
13. Linux lai start garne
●
Ani linux start huda aaune “Blue screen” aaune betikai
●
Click “e”
●
And then again click “a”
●
Now give an space and type “single”
●
It will take you to maintenance mode:
●
passwd
Now change your password.