#1  
Old 27th October 2009, 22:30
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 55
Thanks: 6
Thanked 2 Times in 2 Posts
Default ispconfig users and cgi-bin

Real newbie. I've decided to take my web server and ispconfig it.

I'm working on a centos 5.4 virutal machine.

Install has gone well and all services are up.

I added users, and don't see those users on the system. Do I need users in /etc/passwd, is there a script to extract and add them, how does that all work. Confused.

Set up a website, the cgi-bin location is not normal. (I was being stupid. web users are fine). Looking into a way to provide shell access to users that want it.
My pre-ISPCONFIG configuration had the cgi-bin the same level on the directory tree as htdocs.

Sould I just softlink to the location for each website?

What are the most common settings to use when setting up a standard website permitting some perl scripts?

If you want to see configuration that will have to wait a few hours till I get to the vm machine.

SEP

Last edited by isn; 28th October 2009 at 22:12.
Reply With Quote
Sponsored Links
  #2  
Old 27th October 2009, 23:20
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

You should not do anything on the shell. Take a look at the monitor to see why ispconfig is not able to write the system configuration.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th October 2009, 23:54
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 55
Thanks: 6
Thanked 2 Times in 2 Posts
Smile

Very cool.

I will check it. It is therefore my understand that if shell users need to be created ispconfig should do that.

Quote:
Originally Posted by till View Post
You should not do anything on the shell. Take a look at the monitor to see why ispconfig is not able to write the system configuration.
Reply With Quote
  #4  
Old 28th October 2009, 21:28
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 55
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Okay.

Found my users.

They are like this:

defaultusername
defaultuser2

Why is that? Did I make a mistake?

Oh, there is the clientname entry on the user entry screen. I left everything default to localhost so it would work in a vitual machine.

I need a way to make a user come out as username, not somethingusername

SEP

Last edited by isn; 28th October 2009 at 21:30. Reason: Frak up.
Reply With Quote
  #5  
Old 28th October 2009, 22:05
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 55
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Figured out the user stuff mostly.

My web site users default to web1,web2 etc.

Is there a reason for that or a way to manpulate that and get more creative names?

I see by default these web users have no shell, they can't log in on the command line.

What if my web users want to do some command line stuff. I can create command line users, but I'm not sure its advisable to drop them in the same directory as the webuser.

Now if I change the user name in /etc/passwd, I bet I break something because there is also a user stored in mysql database.

There must be a cookbook here. I feel like I'm learning from scratch.

SEP

Last edited by isn; 28th October 2009 at 22:10. Reason: more info
Reply With Quote
  #6  
Old 29th October 2009, 09:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
Default

Quote:
Is there a reason for that or a way to manpulate that and get more creative names?
These names are just for internal technical use. As nobody is ever using them to connect to the server, the names do not matter.

Quote:
I see by default these web users have no shell, they can't log in on the command line.
Thats intended and they shall not be able to login!

Quote:
What if my web users want to do some command line stuff. I can create
command line users, but I'm not sure its advisable to drop them in the same directory as the webuser.
Then create a shell user in ispconfig. ISPConfig is creating an alias user with the name you had choosen which runs under the ID of the website shell user. Thats why the username of the website user does not matter at all.

Quote:
Now if I change the user name in /etc/passwd, I bet I break something because there is also a user stored in mysql database.
Yes. Never change a shell user created by ispconfig manually in any way!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 29th October 2009, 20:58
isn isn is offline
Member
 
Join Date: Oct 2009
Posts: 55
Thanks: 6
Thanked 2 Times in 2 Posts
Default

Is this true? When a user wants to ssh/ftp in to put content on the server, is this not the user they use?

SEP
Quote:
Originally Posted by till View Post
These names are just for internal technical use. As nobody is ever using them to connect to the server, the names do not matter.
Reply With Quote
  #8  
Old 30th October 2009, 00:07
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,492
Thanks: 835
Thanked 5,533 Times in 4,351 Posts
 
Default

The use the userid of this user, but not the username. ISPConfig configures the linux users so that you can have more then one ssh user per website but all share the same userid to be able to edit the files of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
isn (31st December 2009)
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
Logic behind ISPConfig site directories webbinALLnite General 1 15th October 2007 12:28
ISPConfig Home Directory rlhesson Installation/Configuration 2 7th August 2006 13:44
ISPConfig 2.3.1-dev released till General 0 8th May 2006 23:18
Perl and cgi script installation linuxuser1 General 30 27th April 2006 00:09
Ispconfig cgi hosting Mahir General 6 21st November 2005 16:40


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


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