Sunday, February 10, 2013

How do I create new user in Linux console?

Q. I just got a new Raspberry Pi for my b-day and installed the recommended disk image, Raspbian. I am so far satisfied, but how can I add a new user besides the default user "Pi"?

A. sudo adduser <username>

How can I sync the Linux system password and the Samba password?
Q. I have a Linux server to act as a file server for Windows clients. It is running Debian 3.1rc4 and Samba.

I've created the users system accounts, their home folder, etc, all fine, and also the samba sharing system. I can connect to it and its running ok, but I would like to keep sync`ed the linux system user pass and the samba pass, so that when I change the SYS pwd, the Samba be updated automatically.

I've read about it, mostly of people trying the oposite: when the Samba pwd gets changed, the sys its updated, but it seems to be a little more complicated, so the first case would be just fine.

I also don't wanna turn the linux box into a PDC, or make a domain, using a central DB system for user management and do the job. Just want to keep the files sync without one of these DB solutions, keeping it as simple as possible.

I think that's possible, but dont know if it is so simple, without creating a DB or using external tools.

Thanks in advance.

A. Hopefully, Samba is configured with PAM. If so, follow the instructions below.

Make sure this is set in your smb.conf.
=======
unix password sync = true
pam password sync = true
=======

Navigate to /etc/pam.d/system-auth and add this after the "pam_cracklib.so" line.

=======
password required /lib/security/pam_smbpass.so nullok use_authtok try_first_pass
=======

How can I start Linux and what distribution do you think I should use?
Q. I want to use Linux because I have heard that it is significantly better than IE. My entire family is technologically inept and we only have one computer. How do you think I should start and what distribution do you recommend for a beginner who plans on programming and the like?Any helpful suggestions will be appreciated.

A. I thoroughly recommend two Linux distros.

Linux Mint 9 Main Edition which is based upon Ubuntu 10.04

Linux Mint Debian Edition (LMDE) which is based upon Debian Lenny/Squeeze

Both are easy to install and use plus they come with much of the software you are likely to need preinstalled

Linux Mint 9 Download
http://www.linuxmint.com/edition.php?id=52

The Perfect Desktop - Linux Mint 9 (Isadora)
http://www.howtoforge.com/the-perfect-desktop-linux-mint-9-isadora

Linux Mint Debian Download
http://www.linuxmint.com/edition.php?id=66

Linux Mint 9/Debian User Guide pdf.
http://www.linuxmint.com/rel_isadora.php
http://linuxmint.com/rel_debian.php

HowTo install Nvidia Graphics Drivers on Debian
http://wiki.debian.org/NvidiaGraphicsDrivers#Installapre-builtmodule

Alternatively install Linux Mint as a dual-boot with Windows using mint4win without partitioning mint4win works the same as Wubi as described below (not available on Linux Mint Debian)
http://www.psychocats.net/ubuntu/wubi

You keep Windows as it is, mint4win only adds an extra option to boot into Linux Mint. mint4win does not require you to modify the partitions of your PC, or to use a different bootloader, and does not install special drivers. It works just like any other application.

mint4win keeps most of the files in one folder, and if you do not like it, you can simply uninstall it as any other application.

Boot in to windows insert the Linux Mint LiveCD and you will offered the option of installing inside windows which is where the mint4win installer comes in, you will be asked how many gigabytes you wish to allocate to Linux Mint (I recommend 8gb) then you set a password for your installation then click install and thats it.

Once Linux Mint is fully installed upon starting your PC you will be given a choice of which operating system you want to use Windows or Linux Mint

You download the ISO. image of Linux Mint 9 or Linux Mint Debian then you need to create a Bootable LiveCD/DVD for installation

Linux Mint 9 and Linux Mint Debian can also be run direct from the LiveCD/DVD from Booting up without touching your Hard Drive




LUg.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment