View Single Post
  #6  
Old 13th July 2007, 14:47
shaft_manlike shaft_manlike is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Possibly...

Quote:
Originally Posted by falko
Any errors in your logs?

I think I read somewhere that the UID and GID must be above 1000, but I'm not sure...
I think you may be on to something.

This is what I get in my messages log when the Uid and Gid are 33

Jul 13 13:44:30 officedev2 pure-ftpd: (?@SHAFT.lan) [INFO] New connection from SHAFT.lan
Jul 13 13:44:30 officedev2 pure-ftpd: (?@SHAFT.lan) [WARNING] Can't login as [firstuser]: account disabled
Jul 13 13:44:34 officedev2 pure-ftpd: (?@SHAFT.lan) [INFO] Logout.


Then if I change them to 2001 (ftpuser and ftpgroup) and change nothing else I get

Jul 13 13:44:52 officedev2 pure-ftpd: (?@SHAFT.lan) [INFO] New connection from SHAFT.lan
Jul 13 13:44:52 officedev2 pure-ftpd: (?@SHAFT.lan) [INFO] firstuser is now logged in


Now this may be a really noobish question but is there a way I can change the uis and gid of existing users/groups?

Wouls there be any repercussions of doing that to www-data?
Reply With Quote