#1  
Old 2nd September 2011, 09:59
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 34
Thanked 3 Times in 3 Posts
Default shell-users no more working

Until yesterday shell users worked fine. Then I had to rename a user and the problems started.

Using Webmin I noticed that renaming a user with ISPConfig 3, the old one is not deleted so I deleted via Webmin, what a mess.

Now, even creating new shell-users, no longer work.

The situation is this:
a client with multiple sites
for each site I create a shell-user to allow access to the site folder through SFTP.

Can anyone help me to solve?

Last edited by aldo; 2nd September 2011 at 10:01.
Reply With Quote
Sponsored Links
  #2  
Old 2nd September 2011, 10:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,972
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

Using webmin on a ispconfig server can break the system as webmin does not fully support the configuration ispconfig uses. For that reason i always recommend to not install webmin. I guss webmin accidently deleted the web main user instead of a shell user. There are two options, either you delete the whole website with all shell users and crate a new one or you restore paswd, shadow and group files from a backup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd September 2011, 11:11
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 34
Thanked 3 Times in 3 Posts
Default

I tried deleting and recreating site and shell-user with a new name, it works. Thank you.

However I can not reuse the old names, I think there is a small bug.

Deleting a shell-user in ISPConfig 3 this is not actually deleted.

Thus, creating a new shell-user in ISPConfig 3, re-using the old name does not change the ID.

For example:
web1 id 5009
shelluserweb1 id 5008

How do I actually delete a shell-user no longer used in ISPConfig 3 without making a mess?

Thanks.
Reply With Quote
  #4  
Old 2nd September 2011, 12:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,972
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

Which ISPConfig version do you use? When I delete a shell user on a ispconfig 3.0.3.3 server, then it gets removed correctly and I can reuse the same shell user name.

Quote:
Thus, creating a new shell-user in ISPConfig 3, re-using the old name does not change the ID.

For example:
web1 id 5009
shelluserweb1 id 5008
Thats the intended behaviour. All shellusers of a website share the same ID, otherwise the shell user wont be able to edit any files of the website.

I guess your problem might be that webmin is not showing ispconfig shell users correctly. If you like to know if a shell user has been deleted, take look in the shell user list in isponfig and dont use webmin.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 2nd September 2011, 15:58
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 34
Thanked 3 Times in 3 Posts
Default

I'm using ISPConfig 3.0.3.3.

The current behavior is just that the IDs are different.

For example, working only in ISPConfig 3:
Create siteX, and so the user web1 with 5008.
Create shelluser1 linked to siteX (with assigned ID 5008).
shelluser1 works.

Delete Shelluser1.
Delete siteX

Recreate siteX, and so the user web2 with ID 5009.
Recreate shelluser1 linked to siteX (but this keeps ID 5008).
shelluser1 no longer works.

I hope that I explained.

Last edited by aldo; 2nd September 2011 at 16:00.
Reply With Quote
  #6  
Old 7th September 2011, 16:12
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 34
Thanked 3 Times in 3 Posts
 
Default [IGNORE] shell-users no longer working

Quote:
Originally Posted by aldo View Post
I'm using ISPConfig 3.0.3.3.

The current behavior is just that the IDs are different.
...
I tried to reproduce the behavior described, without success.

May be that the problem was related to users modified with Webmin.

Sorry! ... (but a little more quiet)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Users /Domains /Postfix, Courier/MySQL CentOS 5.1 with no outgoing spam check waters HOWTO-Related Questions 2 10th March 2011 00:39
Exhausted every resource: can't login to dovecot jonc Server Operation 1 12th February 2011 11:38
cannot create new ssh users for one client wildnux Server Operation 0 9th February 2011 01:10
Postfix mail users not working rigelhosting Installation/Configuration 0 19th August 2008 16:43
Jail for users not working properly bplgonzo Installation/Configuration 2 8th June 2007 10:18


All times are GMT +2. The time now is 12:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.