Wednesday, March 27, 2013

How do I add an FTP user with a Linux command?

Q. I need to write a PHP script that automatically adds FTP users. I can use the system() function to run a Linux command, but I don't know how to create a new FTP user. Any help here?
I don't own the server, I've purchased a reseller plan.

A. When you say add an ftp user, I assume that you wouldn't want the person to be able to log in to a shell on the system. FTP users are just like any other linux user. Use the adduser(sometimes called useradd) command and pay attention to the --shell switch (set to /bin/false)

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 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

The Perfect Desktop - Linux Mint 9 (Isadora)

Linux Mint Debian Download

Linux Mint 9/Debian User Guide pdf.

HowTo install Nvidia Graphics Drivers on Debian

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)

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


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