You are not logged in.

#1 2017-10-13 08:03:31

ytsejam
Member
Registered: 2012-02-10
Posts: 57

[solved]How to create group and adduser in virtualenv?

Hello,

I need to create a custom group while using virtualenv? how to create a group in arch linux?

Thanks

ps :

Basically I want to transform

$ sudo addgroup sandbox
$ sudo adduser --disabled-login sandbox --ingroup sandbox

Last edited by ytsejam (2017-10-13 14:14:52)

Offline

#2 2017-10-13 12:08:14

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [solved]How to create group and adduser in virtualenv?

Read the Wiki. Arch isn't a hand-holding distribution, but instead expects you to do your own research. Adding users to groups is covered in the Wiki.


Matt

"It is very difficult to educate the educated."

Offline

#3 2017-10-13 12:55:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,874

Re: [solved]How to create group and adduser in virtualenv?

Notice the reference to "virtualenv" - I've no particular experience with this but afaiu, virtualenv doesn't actually provide isolated user management at all?

Offline

#4 2017-10-13 13:51:09

ytsejam
Member
Registered: 2012-02-10
Posts: 57

Re: [solved]How to create group and adduser in virtualenv?

I want to use codejail . It is used to test the code which is run on browser.

Offline

#5 2017-10-13 14:00:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,874

Re: [solved]How to create group and adduser in virtualenv?

That's unrelated to virtualenv - you just need to add users/groups.
This is a basic task that you should have managed when installing arch - it's the first post-installation item. Read the wiki.

Offline

#6 2017-10-13 14:13:24

ytsejam
Member
Registered: 2012-02-10
Posts: 57

Re: [solved]How to create group and adduser in virtualenv?

I understand the idea of arch linux, but from my understanding I need to create a "sandbox" account which is belonging to "sandbox" group to test   """ To run, CodeJail requires two user accounts. One account is the main account under which the code runs, which has access to create sandboxes. This will be referred to as <SANDBOX_CALLER>. The second account is the account under which the sandbox runs. This is typically the account 'sandbox.' """

I was asking can I create a virtual group named "<SANDBOX>" to add my sandbox user. I have read the wiki a lot of times, but i could not find how to create a group. If i edit "/etc/group" is it enough?

Thanks

ps : I found it groupadd <group>

Last edited by ytsejam (2017-10-13 14:14:35)

Offline

Board footer

Powered by FluxBB