Current time: 12-23-2024, 01:18 PM Hello There, Guest! (LoginRegister)


Post Reply 
Manual SSH accounts
Author Message
Esni Offline
Junior Member
*

Posts: 45
Joined: Mar 2007
Reputation: 0
Post: #1
Manual SSH accounts
Hi,

Is it possible to manually create a user to the unix with username vuxxxx and group www-data.

Does this work without problems with the vuxxxx:www-data user/group that vhcs uses?
04-16-2007 11:33 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Manual SSH accounts
One user may have more than one group...

for ssh + sftp/scp + chroot look here :
http://www.isp-control.net/ispcp/wiki/ch...per_skript

I'd recommend you not to use ssh without chroot!
04-16-2007 11:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hamerr Offline


Posts: 2
Joined: Apr 2007
Reputation: 0
Post: #3
RE: Manual SSH accounts
ephigenie Wrote:One user may have more than one group...

for ssh + sftp/scp + chroot look here :
http://www.isp-control.net/ispcp/wiki/ch...per_skript

I'd recommend you not to use ssh without chroot!

Ok i`ve uploaded the script that I use and it works perfect but where,how to add it to the ispcp system for auto-creation of the user ?
04-25-2007 06:44 AM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #4
RE: Manual SSH accounts
For security reasons I don't recommend you making any domain-owner part of the www-data group. But if you use it in a private server where only people who you really trust and who doesn't have any need of stealing other users info, you can do that.
04-25-2007 08:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
hamerr Offline


Posts: 2
Joined: Apr 2007
Reputation: 0
Post: #5
RE: Manual SSH accounts
raphael Wrote:For security reasons I don't recommend you making any domain-owner part of the www-data group. But if you use it in a private server where only people who you really trust and who doesn't have any need of stealing other users info, you can do that.

The system creates a vu2001 with group vu2001.where to add the script to create a user "testuser" with the same group ? So is there a way or not ?
(This post was last modified: 04-26-2007 03:59 AM by hamerr.)
04-25-2007 03:31 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #6
RE: Manual SSH accounts
What I'm saying is that the group www-data shouldn't be used at all for domain users.
If you want to create a user who has access to a same group, just use --groups GROUP1,GROUP2 when calling useradd and passing a list of extra groups, or, if you want it to belong only to that group, use --gid GROUP
for more information check man useradd(8)
04-26-2007 08:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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