Quote:
Originally Posted by ms3000
Im getting: usermod: invalid field '/var/www/html/games/_SERVERS/accounts/user/xxx.xx.xx.xx:7777'
How can i make access for user to that directory?
I think that problem is with ":" when i change it like in xxx.xx.xx.xx7777 with out ":" it working but i need folder to be in this format: xxx.xx.xx.xx:7777
Im new in CentOS and i cant find answer,
Thank you
|
Welcome to LQ!
The colon is the delimiter in /etc/passwd, so it makes sense that usermod would choke on having it in the directory name.
I've tried quoting, escaping (\: ) and doing both without success.
I think you're out of luck.
Generally speaking, special characters in directory or file names is not usually a good idea. Please discuss
why you "need" a colon in the directory name. Maybe we can help find another solution.