Skip to main content

Posts

Showing posts with the label Samba

Linux basic device utility tools

Knowing the devices in your computer is quite important in order to check what devices are installed or running in the computer
Getting to use Linux or starting to use it may seem daunting for others.
But Linux is awesome aside that its free and open source, in order to get used to it then you have to use it.
How to check installed USB drives or external USB devices in Linux?
How to check what graphic chipset or video chipset your computer is using in Linux?
How to check the audio chipset in your Linux system?
All these questions will pop-up once you start using Linux.
Or how would to check whether the inserted USB thumbdrive or an external USB drive is detected or not.
Well, some Linux distro provides a GUI interface to do it.
But the very basic way to check is to open via the Terminal window.
Or basically the command line in Linux.
ls - or list directory contents is the most basic way to learn on command line
ls will list the files and directories
To issue the commands below, open …

Searching files in Linux

Search the whole directory:

    find / -name "php.ini" -print

    find / -name "owncloud.conf" -print


Using whereis command:

  whereis php.ini

From man whereis (command):
NAME
       whereis  -  locate the binary, source, and manual page files for a com-
       mand



Using locate command:

locate php.ini

From man locate (command):
NAME
       locate - find files by name



To find out more, type at terminal:

    info locate
    info whereis

    locate --help
    whereis --help



Cheers..till next time.

================================ Free Android Apps:
Click on links below to find out more:
Linux Android App cheat sheet: https://play.google.com/store/apps/details?id=com.LinuxMobileKit
Multiplication Table for early learners https://play.google.com/store/apps/details?id=com.TableMultiplication

https://play.google.com/store/apps/details?id=soulrefresh.beautiful.prayer
Catholic Rosary Guide  for Android:
https://play.google.com/store/apps/details?id=com.myrosaryapp
http://quickbytesstuff.blogspot…

Samba set or change user password

Set, update or change a user password in Samba.

If domain admin or user password that is set on samba needs to be updated.

Open terminal then update using the command below:

   smbpasswd -a

    smbpasswd -a administrator


After pressing enter, type the password twice to validate and confirm the password.

If the user name or admin password has been updated on the Windows Active Directory, then the Samba password has to be updated as well.

If the samba password is not updated then the client from the windows environment authenticating to samba will not be able to connect to samba shares.

To dig more about smbpasswd check out link below:
https://www.samba.org/samba/docs/man/manpages/smbpasswd.8.html


-a This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type for the old password). This option is ignored if the username following already exists in the smbpasswd file and it is treated like a regular change password comm…