Current time: 11-22-2024, 09:06 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] User vmail
Author Message
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #1
[SOLVED] User vmail
During install a new user vmail gets created. I have structured user ids. So I want to modify the id. I have found 3 files with this userid. However I am not sure if there is something else I need to modify (some ispcp configuration file)...

Best Regards,
Yves
(This post was last modified: 04-08-2008 08:24 AM by HSorgYves.)
03-29-2008 08:03 AM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #2
RE: User vmail
Hi,

as far as i know a usermod --uid XX vmail should do all this. I think, ispCP doesn't handle anything of the user vmail with it's userid, only with it's username.

Greetings
FeG
03-29-2008 08:41 AM
Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #3
RE: User vmail
I know how to change the uid. If it is only used using the username I can change it without getting into trouble...

Best Regards,
Yves
03-29-2008 09:09 AM
Find all posts by this user Quote this message in a reply
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #4
RE: User vmail
HSorgYves Wrote:I have found 3 files with this userid.

ispCP-files? If so, tell us which files you found...
03-29-2008 09:10 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: User vmail
check the permissions of /var/mail/virtual

you have to do chown vmail:mail /var/mail/virtual after changing the uid...
03-29-2008 10:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #6
RE: User vmail
The 3 files I found are:
/var/www/ispcp/engine/messager/ispcp-arpl-msgr
/var/www/ispcp/engine/messager/ispcp-db-keys.pl
/var/log/ispcp/ispcp-arpl-msgr

So it is safe to change the uid of this user?
04-07-2008 07:38 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: User vmail
the db-keys file you definitely should not change. (btw, there should be the same file in /var/www/ispcp/engine/ispcp-db-keys.pl).

The log file is also not a candidate.

Maybe the ispcp-arpl-msgr - this is used for the automatic mail responder...
04-07-2008 09:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #8
RE: User vmail
I do not want to change the files, I want to change the UID of the user vmail...

Can this be done?

P.S.: The listed 3 files are owned by this user and no others are...
04-07-2008 09:26 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: User vmail
should be possible to change the uid.

Run the script set-engine-permissions (setup folder) then the first two should be corrected. the log file you may have t change separately...

/J
04-07-2008 09:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HSorgYves Offline
Junior Member
*

Posts: 94
Joined: Feb 2008
Reputation: 0
Post: #10
RE: User vmail
I can correct the permissions myself, but I will try to use the predefined script for that...

Will let you know if it works!
04-07-2008 09:38 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)