0
Accidentally messed up UID/GID of a user
Kind of embarrassing, but I was trying to fix an ftp issue using this quick tutorial and that simply broke all hell loose. I'm still able to access the server as root using another user.
I tried to delete the user I set the UID and GID as "www" but Ajenti keeps givjng me the error down below whenever I go to the users page or if I try to create a new user via Ajenti.
invalid literal for int() with base 10: 'www' Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 158, in handle_message self.ui.dispatch_event(update['uid'], update['event'], update['params']) File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 72, in dispatch_event self.root.dispatch_event(uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 382, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 378, in dispatch_event self.event(event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 402, in event getattr(self, 'on_%s' % self_event)(**(params or {})) File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 381, in on_switch child.broadcast('on_page_load') File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 356, in broadcast getattr(self, method)(*args, **kwargs) File "/usr/lib/pymodules/python2.7/ajenti/plugins/users/main.py", line 57, in on_page_load self.refresh() File "/usr/lib/pymodules/python2.7/ajenti/plugins/users/main.py", line 63, in refresh self.binder.setup(self.config.tree).populate() File "/usr/lib/pymodules/python2.7/ajenti/ui/binder.py", line 589, in populate binding.populate() File "/usr/lib/pymodules/python2.7/ajenti/ui/binder.py", line 394, in populate if not self.ui.filter(value): File "/usr/lib/pymodules/python2.7/ajenti/plugins/users/main.py", line 21, in _filterOnlyUsers u = int(x.uid) ValueError: invalid literal for int() with base 10: 'www
Служба підтримки клієнтів працює на UserEcho