Ubuntu Servers :: ProFTPD - Useradd Fails But Adduser Ok

Aug 4, 2010

Proftpd is installed and running fine on 8.04 server. I want to streamline the process of adding users. Adding a ftp user with USERADD fails (user is created but connection fails when trying to connect with ftp client).

Code:
useradd -d /ftp/ftphome/myuser -g ftp -m -p mypassword -s /usr/sbin/nologin myuser
But, ADDUSER works:
Code:
adduser myuser
usermod -d /ftp/ftphome/myuser -g ftp -m -p mypassword -s /usr/sbin/nologin myuser

It's a bother because I want to automate the process, and ADDUSER has all those prompts and asks for the password twice.

View 2 Replies


ADVERTISEMENT

General :: Useradd Creates User But Fails To Make Home Directory

Oct 7, 2010

when I try to add a user it fails to make the corresponding home directory. I can still su to the user, set the password, and everything else. the output is as follows:

$ useradd username
useradd: cannot create home directory /home/username

I read that this could be a result of there not being enough space but if I do df -h, i see that only 88% of the memory is being used.

View 14 Replies View Related

Ubuntu Servers :: Adduser Doesnt Work Correctly?

Jun 10, 2011

I was being stupid, and didn't read the manual properly... shame i can't delete the thread!

View 1 Replies View Related

Debian Configuration :: Connect To Proftpd But Upload Fails

Jul 22, 2010

I finally have my system to where I can connect to proftpd but my uploads fail. I think my problem lies in the upload folder. I do not really understand where to put it. Will someone look at this config file and tell me where to put it and what I need to do to get it working. A basic anonymous configuration, no upload directories.

[code]...

View 14 Replies View Related

CentOS 5 Server :: When Taken The Comments Out And Edited For Anonymous - Proftpd Fails To Start

Dec 30, 2010

I've recently installed Proftpd to host for someone for a couple of hours.

With the default config it works however when taken the comments out and edited for anonymous, proftpd fails to start

This is the default config file which works if you have a user and password for my machine, but anonymous wont work (when the comments were removed).

View 1 Replies View Related

Ubuntu Servers :: ProFTPd Will Not List

May 25, 2010

I have set up proftpd many times now one Ubuntu 9.10 and never ran into any problems. I decided to go ahead and do a clean install of the new 10.04 and set everything back up (ie ssh ftp apache... ect)I got done with ssh with no problems and started working on getting proftpd up and running just like I've always have. But now every time I try to login it gets to where it should list all the files in my dir and it just times out. If I connect through my network (192.168.1.101) everything works fine so I dont think its my .conf file.ll ports are open that are needed and I even tried opening up the passive ports to see if that would help but it does not.

View 1 Replies View Related

Ubuntu Servers :: Corrupted Files With ProFTPd?

Apr 23, 2011

I'm having problems with the ftp-server ProFTPd,If I transfer files from a Linux host to a Windows client, it says that my transfered files are damaged, so I'm unable to open them..I've searched this forum and several people say I have to set the default transfer mode to 'binary' mode.I did that, but it didn't work at all for me... so despite the binary transfer mode my files are still damaged when I transfer them.when I do it through SSH, it works fine, so the problem is the FTP-server...

View 3 Replies View Related

Ubuntu Servers :: Ftp Server Using Proftpd And Have Been Able To Connect To The Box On Local Lan?

Feb 9, 2010

i have been havin a little trouble with my ftp server im using proftpd and have been able to connect to the box on local lan but it stops with an error about tls packet.

i have been following a guide on settin up my server [URL]...and have attached my config and error details

View 1 Replies View Related

Ubuntu Servers :: ProFTPd + MySQL 421 Error - No Log Data

Aug 10, 2010

I already have my laptop as a server using a LAMP server + proftpd and the FTP->MySQL link up. I built myself a new Headless and set up the SSH and VNC on it and all that good jazz. LAMP works and everything. Proftpd+MySQL (using the proftpd-mod-mysql package from repo) doesn't seem to work on this headless box. So I used the tutorial from [URL]... Thinking "I'm using 10.04 - it's close enough". Both came up with the same error. 421 Service not available when I ftp from the localhost. Is their something I'm missing? the Laptop set up (also 10.04) works groovy fine. Also all the log files are blank.

View 2 Replies View Related

Ubuntu Servers :: Proftpd Permission Denied After Upgrade From Server 8.1 To 9.1

May 24, 2010

After upgrading ubuntu server to the latest version (according to apt-get) proftpd stopped working. When I try to execute proftpd I get the following message (when logged in as root or user with root privileges) :

Code:

Line 18 in modules.conf looks like this:

Code:

I've tried removing and re-installing proftpd, but this doesn't help

If I comment line 18 in modules.conf, I just get permission denied on the next LoadModule command...

Can I remove all modules? or is there a way of fixing the permission denied issue?

View 2 Replies View Related

Fedora Servers :: Proftpd Refuses To Start - F8

Nov 3, 2009

Proftpd has been running OK until recently, when I tried to connect using my laptop. All I get is the proftpd-socket file under /var/run/proftpd/ I cant' find any log files with error messages in them. I have checked /var/log/messages - nothing in there either. I have rebooted the machine after re-installing proftpd. Still it wont start Is there any way to find out why proftpd has decided not to start any more?

View 4 Replies View Related

General :: Proftpd Fails On Boot Saying "MasqueradeAddress: Unable To Resolve Rowilson.dyndns.org"

Mar 21, 2011

I have proftpd set up on my linux home server. As I have a dynamic IP at home, I am using DynDns.org to provide a hostname for me. I have told proftpd to use this address as the MasqueradeAddress, to allow passive FTP connections through my NAT router.

However, whenever I boot my server, proftpd fails to start saying it cannot resolve this address. I assume this is due to the boot order, as something network or DNS related hasn't started up by then and it can't find the address. How should I deal with this problem? Can I get proftpd to do its checking for the address later on? Or can I change the startup order so that proftpd is started as the final item in the boot sequence?

View 1 Replies View Related

Ubuntu :: Adduser Command - Setting Locale Failed

Feb 1, 2010

I am attempting to add a user via the adduser command. However, I get an error/warning message after entering the following: (note I am following a HOWTO, and this is the line it says to enter).

Code:
adduser renderNode
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
adduser: Please enter a username matching the regular expression configured
via the NAME_REGEX[_SYSTEM] configuration variable. Use the `--force-badname'
option to relax this check or reconfigure NAME_REGEX or NAME_REGEX_SYSTEM.
I don't quite understand how to check/configure locale settings or variables,

View 3 Replies View Related

CentOS 5 :: Bad User Permission With Adduser Command

Dec 1, 2010

i know some UNIX commands and some centos/linux commands anyway i need help setting up my centos VPS. I recieved the server the today and i wax given a SSH login which i quickly figured out how to use however for many actions including opening SFTP i need to have a non root useraccount form which i have none, so i preceeded to create a new account(adduser username, passwd username) however now if i try to log into SSH, SFTP with the new account i get a message Access is Denied. I need some help and the company hosting the server seems to be pretty useless for actual support, i think they assume VPS owners to have a reasonable amount of linux knowledge.

View 8 Replies View Related

Debian Installation :: Install Script Can't Find Adduser

Jul 29, 2014

Just upgraded to wheezy from squeeze, and trying to resolve a few problems that appeared.

I get an error when installing pulseaudio (and a few other packages). Looks like the install script can't find 'adduser':

Code: Select allSetting up pulseaudio (2.0-6.1) ...
/var/lib/dpkg/info/pulseaudio.postinst: 22: /var/lib/dpkg/info/pulseaudio.postinst: adduser: not found
dpkg: error processing pulseaudio (--configure):
 subprocess installed post-installation script returned error exit status 127

If I 'sudo su -' then 'adduser' is on the path, so why can the install script not find it?

View 1 Replies View Related

General :: Slackware 13.1 Adduser Wont Work NO /usr/bin Directory?

Feb 12, 2011

/usr/bin: No such file or directory and I cannot run any adduser commands from root of my new install of Slackware 13.1. This is my first time every installing a Linux distro and I am confused as to why I cannot do anything from the root command that I have been reading in Linux forums?

View 2 Replies View Related

Server :: Usage Of Adduser Scripts Directives In Samba

Mar 8, 2011

I am a bit fuzzy about the usage of adduser script directives in the smb.conf. I pressume they give you the ability to add users directly from windows machines... or not? And how can I use them?

View 8 Replies View Related

Server :: Add Users To Box Without Using Useradd

Jun 15, 2011

do you guys know how to add a user to a linux box without using useradd?I'm working on a project to disect the process of adding users, but can't use useradd command.I know this involves modifying couple of files such as /etc/passwd, /etc/groups, etc..but i'm sure there is more to it.

View 3 Replies View Related

Ubuntu :: Create One User Without Password Using Useradd Command?

Jul 1, 2010

I want to create one user without password using useradd command. Is there any way we can do the same? I have googled it but couldn't get the perfect solution

View 1 Replies View Related

General :: Use Useradd Command Against LDAP?

Dec 12, 2010

How can I add user on LDAP to my Linux server ?

View 1 Replies View Related

General :: Add A User Using The Useradd Command?

Feb 10, 2010

I am trying to learn shell scripting from a book and all I am doing is following few instruction from the book. Now this is what I am doing. I am trying to add a user using the useradd command so I run the following at command prompt root@S8500C_9>useradd ajit. The first time when I add this user I was successful.Later I deleted this suer using the userdel -r ajit command.Now when again I am trying to add this user it gives me following error. useradd: group ajit exists - if you want to add this user to that group, use -g. Now when I try using the -g option with the useradd command it gives we all the set off options avaiable to use along with the useradd command but doesnt create the ajit use

View 5 Replies View Related

General :: USERADD Command NOT Found?

May 25, 2010

when i see /usr/bin there is no useradd command. and i want to add a user.if i type the command it is shooting an error saying command nt found .how should i create a user.

View 3 Replies View Related

Server :: Add A User With Useradd Command?

Mar 26, 2011

I want to add a user with useradd command, however I get this error:

Code:
mahmood@node1:home$ sudo useradd user2
useradd: cannot lock /etc/passwd; try again later.

View 3 Replies View Related

Slackware :: Can't Make 'useradd' Work

May 10, 2010

Code:
useradd -u 8001 -g luc -p mypassword -s /usr/bin/bash -d /home/luc luc
Open another terminal:
Code:
luc[159-0]test> ssh luc@61.62.63.64

[Code].....

Jump back to the other terminal... Try SSH login... Success!

'adduser' works, 'useradd' doesn't. Why? I have read the man pages several times and can't find the error in my command line.

I have a similar problem with groupadd

This fails: groupadd -g 8001 staff

This works: groupadd staff

View 9 Replies View Related

General :: Return Code 1 For Useradd Command?

May 2, 2011

getting a error return code for useradd commandthe return code is 1cite or tell me the explanation of return code 1 .

View 1 Replies View Related

General :: Creating Account With Useradd Command

Mar 9, 2011

I encountered a question in the Redhat Skills Assessment regarding useradd: Which of the following cannot be defined when you create a user account with useradd?
a* A password expiration date.
b* The user's primary group.
c* The user's default shell.
d* The user's NIS or LDAP group.
e* The user's home directory.
Which is the correct answer? I have my own thinking which will be explained later.

View 2 Replies View Related

Server :: Useradd & Smbpasswd Using Shell Script?

Apr 5, 2011

how to useradd & smbpasswd using shell script.The below script i tried but its not working.

echo "$ecare2@" | smbpasswd -as "$ramecare"

View 5 Replies View Related

Debian Configuration :: Can't Login With New User (useradd Command)

Sep 5, 2015

I created a new user with command useradd (as root) :

Code: Select alluseradd razer123

And then set a password with command passwd (as root):

Code: Select allpasswd razer123
No Error!

When I logged out and tried to login with new user, I coulden't! (even after restart!)

I looked into /etc/passwd :

Code: Select allcat /etc/passwd | grep razer123

result:

Code: Select allrazer123:x:1002:1002::/home/razer123:/bin/bash

There is no home folder in the path!

# I have debian 8 and MATE desktop.

View 5 Replies View Related

General :: Add A New User With Useradd On Debian 4.0: Segmentation Fault

Jun 30, 2010

I would like to add a new user with useradd (on Debian 4.0), I get the message Segmentation fault. I made a strace, that says: access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) I have read maybe the libc6 is missing or damaged, so I installed it again (apt-get install libc6, install was successfull), but the problem is still there. I touched it (touch /etc/ld.so.nohwcap)

View 7 Replies View Related

CentOS 5 :: Useradd Command - Finding 10 Last Files Sorted

Apr 6, 2009

I work under centos 5, I would like to know which command to use in order to find where the useradd command is geinstalled. Second How can I find the 10 last files sorted (reverse) from the /etc directory.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved