SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-30 22:17:26

trufighter
Member
Registered: 2011-08-26
Posts: 14

How to setup "pureftpd"?

Hello everyone! I'm very interested in "pureftpd" and installed the two packages needed through

the package manager. But when following the instructions they don't have a clear method for Slitaz.

(for example)

* Step 1 (optional but recommended):

Create a specific, unprivileged user and group called _pure-ftpd, without any

valid shell. Don't use this for anything else, including FTP virtual users.

groupadd _pure-ftpd

useradd -g _pure-ftpd -d /var/empty -s /etc _pure-ftpd

***THIS IS WHERE I GET LOST***

there's no way to properly do this via xterm, so how I can move forward?

I tried...

adduser -g _pure-ftpd -d /var/empty -s /etc _pure-ftpd

***BUT NO DICE***

So have a good & I'll hear from you guys later........thanx.....

Offline

#2 2011-10-01 01:47:51

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: How to setup "pureftpd"?

As root in xterm:

#adduser -SH _pure-ftpd

Add system user _pure-ftpd with no shell (/bin/false) and no /home directory

#addgroup -S _pure-ftpd

Add system group _pure-ftpd

cat /etc/passwd =>  list users

cat /etc/group =>    list groups

Offline

#3 2011-10-02 12:56:00

trufighter
Member
Registered: 2011-08-26
Posts: 14

Re: How to setup "pureftpd"?

Thanks for the response!!!

But I still have a problem....

     (entered)

#adduser -SH _pure-ftpd

#addgroup -S _pure-ftpd

#cat /etc/passwd => list users

       (results)

cat: can't open '=': No such file or directory

cat: can't open 'users': No such file or directory

***WHAT AM I DOING WRONG?***

Offline

#4 2011-10-02 13:28:54

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: How to setup "pureftpd"?

Try this:

cat /etc/passwd

cat /etc/group

Offline

#5 2011-10-10 05:22:53

trufighter
Member
Registered: 2011-08-26
Posts: 14

Re: How to setup "pureftpd"?

sorry 4 the delays.........but I will try this, by the way I've been studying the "package manager" and found some nice apps! The more I use Slitaz the more I dig it! Linux is where it is!

Offline

#6 2012-08-15 01:59:51

chenzhen_li
Member
Registered: 2012-07-24
Posts: 20

Re: How to setup "pureftpd"?

So. I don't know why do you have to create that user... I login with my user and that's it.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]