View Full Version : Ftp
Thafusion
11-29-2003, 07:41 AM
I want to create also a ftp login and pass so i can come in all maps of my server how can i do that ?
FarCry
11-29-2003, 07:59 AM
you want to create a ftp account for /
?
DirectAdmin Support
11-29-2003, 09:56 AM
Hello,
I know that proftpd won't allow root access (compiled in), but you could edit the /etc/proftpd.passwd file and change the path to / after creating a temp account.
John
FarCry
11-29-2003, 10:00 AM
exactly what i was going to tell him, wanted to know if thats what was required first.
Thafusion
12-02-2003, 12:02 PM
I know created a temp account and changed the path to /hlcs_2:/bin/false
now i can connect to that map but can't delete any files.
And i can't connect to the map /cs_1/cstrike very strange :S
DirectAdmin Support
12-02-2003, 03:18 PM
Make sure that the uid:gid (user id and group id) in the proftpd password line has permission to read/write to that directory. IE: make sure it's owned by the system user, and not root or something.
John
Thafusion
12-05-2003, 07:53 AM
can u give me maby a example line i used the 504:504 but no permission to write.
DirectAdmin Support
12-05-2003, 11:19 AM
Hello,
testing:cryptedpassword:504:504:system:/:/bin/falseNote that the filesystem will govern what it can read, so you might not be able to read everything. Also "cryptedpassword" can be generated with the crypt() function in php.
John
Thafusion
12-05-2003, 04:35 PM
I think that the problem is that i edited the file with root acces
Need to find out how to create a new ssh login and pass :P
DirectAdmin Support
12-06-2003, 12:38 PM
To add an ssh user, you'd have to add theAllowUsers usernameto your /etc/ssh/sshd_config file, then reload sshd.
John
S2S-Robert
12-07-2003, 05:30 AM
and how about creating an FTP account for /home/ ?
What permissions should I give "admin" or what uid:gid should I use?
DirectAdmin Support
12-07-2003, 11:26 AM
Hello,
What you could do, is just add everyones group to admin, which will allow admin into everyones directory. But failing doing some unix group modifications, you'd only get read permissions (at best) on /home (execept for your own home directory)
John
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.