Clan [+35] Forum
Clan [+35] Forum
[+35] Hovedkvarter | Profil | Tilmeld | Aktive emner | Forummedlemmer | S�gning | FAQ
 Alle fora
 Computere
 [+35] Linux
 LINUX FTP problem

Note: Du skal være tilmeldt for at skrive indlæg.
Tilmeld dig her. Tilmelding er gratis!

Skærmstørrelse:
Brugernavn:
Kodeord:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Tekst:

* HTML er slået FRA
* Forum-koder er slået TIL
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

E M N E    VISNING
[*DRUNK*]GRAVEFILLER Posted - 20 Nov 2002 : 08:37:37
The [*DRUNK*] Linux pr0nserver has a problem...

I'm using Suse 8.0 and an FTP program (can't remember the name).
Normally you start up YaST and create another login name in the system which the FTP program takes over.

I made account before and made their home folder /usr/local/ftp which is the place where all the pr0n is hidden :)
They are all part of the group users and their Unique Id's start from 500 till 517 something.

Now the problem :
When creating new accounts all of a sudden the home directory is set to
35slutty/home when creating user 35slutty. When I attempt to change the home directory to /usr/local/ftp it says this directory is already in use by another user..

My response :

DUH.. It's used by 15 other users... But how come it gives this error now ?? The only thing I can think of is that something changed during the last updates I did this weekend...

Any ideas ??

I'll edit in the name of the FTP program later on..
6   N Y E S T E    I N D L Æ G    (Nyeste først)
[+35]6-PACK Skrevet - 27 Jun 2004 : 19:17:58
Man kan håbe at GF har abb på dette topic
We have Cg 2004 so plz let us hear from you if you want to join.
SmokiE Skrevet - 23 Nov 2002 : 16:06:39
f00kin cool you can help out here Lazy

Good job
[+35]Lazy Skrevet - 21 Nov 2002 : 00:30:24
Well now i'm really confused.

If you use pure-FTPd then I cannot see why you would create local useraccounts at all!
Pure-FTPd supports virual users and you can do a lot more with those than you can with regular users - even chroot all of your filesystem for someone if you insist :)

Well I would do this: (open a shell and su)

[root@GraveyBox]#groupadd drunkperverts
[root@GraveyBox]#useradd -g drunkperverts -d /dev/null -s /etc drunkftp
[root@GraveyBox]#pure-pw useradd 35slutty -u drunkftp -d /usr/local/ftp


But what about all the other users? Hey just convert the bastards to virtual bastards :P
[root@GraveyBox]#pure-pwconvert >> /etc/pureftpd.passwd

Second last step is to commit and create your ftpuserDB. default = /etc/pureftpd.pdb
[root@GraveyBox]#pure-pw mkdb

now you are ready to run pure-FTPd as usual but you have to add this to your pure-ftpd commandline to activate virtual bastards:
-l puredb:/etc/pureftpd.pdb

Whenever you change or add users with pure-pw you have to do a pure-pw mkdb but you dont even have to restart pure-FTPd!

Hope you can use this, imo, much more secure solution :)

As for the "in use problem" are you running quotas or something???
[*DRUNK*]GRAVEFILLER Skrevet - 20 Nov 2002 : 20:41:09
It's Pureftp.. And i tried shutting it down first still get the same error...
[*DRUNK*]GRAVEFILLER Skrevet - 20 Nov 2002 : 15:14:22
I don't want to change anything on this format :

I like them to have access to /usr/local/ftp so they can see EVERYTHING on there : warez, pr0n, movies, series, pics, CS updates, match screens, match demo's etc etc.

I forgot something tho :P

I did the changes in the users while the FTP program was still on. That might have something to do with it. The FTP program automatically detects new users and configures their access by itself. So I should stop it and restart it after the changes are made. I'll check tonight if that
was the problem :P

Why do you need the IP it's only 200 Gigs of **** :P
[+35]Lazy Skrevet - 20 Nov 2002 : 13:18:58
Hi GF.

I'm a bit confused here because to me it sounds like you are making things more difficult than they have to be (usually my trademark )

I've never really used Suse or YaST but the behavior you describe when you create a new user is normal (I'm guessing that you meant his $HOME is /home/35slutty) And I simply cannot imagine why you would want to change that!

Hmm still confused... Can't you just create a group: drunkFTP and a dir /pub/drunk/extremelynastypr0n put your filth in here and give the group read-access to this dir. Then create /pub/drunk/extremelynastyuploads and give the drunkFTP-group read/write access to this dir and finally make all [*DRUNK*] members part of group drunkFTP.

Well can you please give me a hint why you want to do it the other way, because i'm wondering why?

Oh and whats the IP btw

/Lazy

Clan [+35] Forum © 2000-2002 Snitz Communications Go To Top Of Page
Tilpasset ældre læsere - vist på [:)] 0.17 sek. Snitz Forums 2000