Software :: Cannot Create New User (useradd: Unknown Group MyGroup)

Jun 7, 2010

I try to add a new user but got error (shown in title). Is it possible to create a new user and create a new group at the same time? Or should I create the new group first then the new user?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Create One User Without Password Using Useradd Command?

Jul 1, 2010

I want to create one user without password using useradd command. Is there any way we can do the same? I have googled it but couldn't get the perfect solution

View 1 Replies View Related

Ubuntu :: Create A User Group That Restricts Internet Privileges To Only Members In The Group

Jul 19, 2011

How can I create a user group that restricts Internet privileges to only members in the group, then I will assigns certain applications to join the group for access to the Internet.

For example, I want only group net to have access to the Internet. Group net is then connected to:

Code:

So far, I am using the gnome group policy manager that is standard with ubuntu but Its not working. It is possible that im misdirected and that I should use a firewall instead?

View 2 Replies View Related

Ubuntu :: Create A New Administrative User Of Change The Current User's Group

Sep 3, 2010

This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?

View 1 Replies View Related

General :: Add A User Using The Useradd Command?

Feb 10, 2010

I am trying to learn shell scripting from a book and all I am doing is following few instruction from the book. Now this is what I am doing. I am trying to add a user using the useradd command so I run the following at command prompt root@S8500C_9>useradd ajit. The first time when I add this user I was successful.Later I deleted this suer using the userdel -r ajit command.Now when again I am trying to add this user it gives me following error. useradd: group ajit exists - if you want to add this user to that group, use -g. Now when I try using the -g option with the useradd command it gives we all the set off options avaiable to use along with the useradd command but doesnt create the ajit use

View 5 Replies View Related

Server :: Add A User With Useradd Command?

Mar 26, 2011

I want to add a user with useradd command, however I get this error:

Code:
mahmood@node1:home$ sudo useradd user2
useradd: cannot lock /etc/passwd; try again later.

View 3 Replies View Related

General :: Useradd Command To Create Passwd / Shadow & Other Files Under Different Directory

May 19, 2011

I am bulding my own image based on 2.6.32 kernel, I wish to add a guest user:

In a script thats invoked by the makefile, I use 'useradd' command & this updates the shadow, passwd files under /etc on the host, is it possible to tell the command to create the shadow / password under some other folder on the host? may be /tmp?

View 2 Replies View Related

Debian Configuration :: Can't Login With New User (useradd Command)

Sep 5, 2015

I created a new user with command useradd (as root) :

Code: Select alluseradd razer123

And then set a password with command passwd (as root):

Code: Select allpasswd razer123
No Error!

When I logged out and tried to login with new user, I coulden't! (even after restart!)

I looked into /etc/passwd :

Code: Select allcat /etc/passwd | grep razer123

result:

Code: Select allrazer123:x:1002:1002::/home/razer123:/bin/bash

There is no home folder in the path!

# I have debian 8 and MATE desktop.

View 5 Replies View Related

General :: Add A New User With Useradd On Debian 4.0: Segmentation Fault

Jun 30, 2010

I would like to add a new user with useradd (on Debian 4.0), I get the message Segmentation fault. I made a strace, that says: access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) I have read maybe the libc6 is missing or damaged, so I installed it again (apt-get install libc6, install was successfull), but the problem is still there. I touched it (touch /etc/ld.so.nohwcap)

View 7 Replies View Related

General :: Useradd Creates User But Fails To Make Home Directory

Oct 7, 2010

when I try to add a user it fails to make the corresponding home directory. I can still su to the user, set the password, and everything else. the output is as follows:

$ useradd username
useradd: cannot create home directory /home/username

I read that this could be a result of there not being enough space but if I do df -h, i see that only 88% of the memory is being used.

View 14 Replies View Related

Ubuntu Installation :: Sintax Error About Unknown Group When Installing Packages

May 1, 2010

I have corrupted or added an invalid sintax in somewhere. Therefore, the OS is not able to install packages. Can you instruct on how to fix this issue. So far, I was trying to install gnokii and after that my OS cannot install software or package updates.I am lost and I worried I have to install again the OS.

View 3 Replies View Related

Software :: Allow A Group/user To Execute A Command, Where One Of The Parameters Of The Command Is A Group As Well?

May 3, 2010

Is it possible to allow a group/user to execute a command, where one of the parameters of the command is a group as well? example that does not work as intended:

Code:
Cmnd_alias SU=/bin/su -l %group1 This example works sortof, it treats the "%group1" literally. I know I can list out the "/bin/su -l <eachuser>", but as you can imagine that is impractical. In this example, I want people in group2(not shown for brevity sake) to be able to su to someone in group1

View 13 Replies View Related

Server :: PostFix - ISPConfig Mail Return - Unknown User" Or "no Such User Here

Feb 9, 2010

I have set up a debian 5 server with ISPConfig and PostFix using Perfect Server toturial [url].

Now i have huge problem i'm getting eather "No such user here" message from SMTP server hosted at hosting provider or Unknow User: name from my ISP's SMTP server (free mails they provide)...

Mail LOG:

Code:

View 1 Replies View Related

General :: Group Files And Create Archives Accordingly?

Jul 20, 2010

How can I group files and create archives accordingly? I have 10,000 files in a folder (no sub-folders) and I want to create 10 zip or tar.gz archives. This means every archive has 1,000 files. How can I do this in Linux?

View 1 Replies View Related

Programming :: Create Single Group From All Other Groups?

Mar 14, 2011

I would like to create a bash script that creates a single group from all users in other groups.

I've been at it most of the day, and I think I'm making it too complicated. I have about 100 lines of code, and it's still now working the way I would like. I'm starting to trip over my own feet with the amount of if statements and variables.

View 1 Replies View Related

General :: How To Add User In Group?

Mar 17, 2010

I have four users in my red hat linux 9. I want that all these four users should add in a group i.e "Marketing". please guide me that using terminal which command may i write so that the users should added in the group.I does't want to use GUI interface to do it.

View 14 Replies View Related

General :: How To Add User Into Group?

Feb 14, 2011

I want to add a user "smith" into marketing group using terminal.Please guide me that how can I do it ?

View 11 Replies View Related

General :: Get All Group List Of Particular User?

Jun 20, 2011

How to get all group list of particular user in linux to whom which he is member.

View 3 Replies View Related

General :: User And Group Ids Scrambled When Using NFS?

Jul 11, 2011

I'm using nfs to mount the folder /mirror from a server onto a node.

This works, except on the node the user and group are displayed as "4294967294".

On the server: ls -al ./ displays

-rw-r--r-- 1 cu cu 0 2011-07-11 15:08 test1
-rw-r--r-- 1 cu cu 0 2011-07-11 15:08 test2

whereas on the node

-rw-r--r-- 1 4294967294 4294967294 0 2011-07-11 15:08 test1
-rw-r--r-- 1 4294967294 4294967294 0 2011-07-11 15:08 test2

I have usermod and groupmod the username cu to have the same numbers on the node.

On the server: id displays

uid=1021(cu) gid=1007(cu) groups=1007(cu),109(admin)

on the node

uid=1021(cu) gid=1007(cu) groups=1007(cu)

I'm stumpeed as to what the problem could be.

I should perhaps add that the home directory is /mirror/cu (so that the users share the same account when mounted). Not sure if thats relevent though...

My /etc/exports file (on the server) looks like this

/mirror *(rw,sync)

and I do the mount (on the node) with

sudo mount server:/mirror /mirror

View 1 Replies View Related

General :: Delete User From Group?

Jan 28, 2010

how to delete a user from a group? i am new to this group started linux admin course.

View 4 Replies View Related

General :: User And Group Permissions

Jul 10, 2010

I am doing rhce course but i am very confused to answer these user and group permissions.the questions are like this...the owner of the /data must be user tom.primary group of /data must be the group sysadmins.the members of the group test must be able to write and create files in the /data.the members of the group web have no access to these directory.the user jack not belong to any of these gropus must have to edit files created in /data.the user tim can only list the contents.

the questions are always like these..i am okay with sgid and sticky bit.but i dnt know where to set default acl and other permissions.

View 3 Replies View Related

OpenSUSE Network :: Add New User / Group To Apache2

Oct 8, 2010

i try to install bugzilla on suse 11.2. For that i want to add a new user / group to the apache2. I want to add the following commands to the envvars but there is no such file available

export APACHE_RUN_USER=apache2
export APACHE_RUN_GROUP=apache2

View 2 Replies View Related

Ubuntu Security :: FTP User And Group To Apache?

Jun 13, 2010

What would be the effect of setting ProFTPd's user and group to the same user and group that Apache use? Are there any security risks in doing this, or is this safe to do?

View 4 Replies View Related

Ubuntu :: Get To The User/group Manage Using Alt+f2 In The Desktop?

Jul 5, 2010

My user/group manager in the system>administration menu is missing.Is there a command to get to the user/group manage using alt+f2 in the desktop? Or can i download the user/group manager from Ubuntu Software Center? I searched the Software Center and all i could find was the KUser user manager program... can I download it? Will it work with ubuntu 10.04?

View 3 Replies View Related

Ubuntu :: Removed User From Sudo Group

Sep 23, 2010

I made a mistake on my friend's Ubuntu system when trying to get hard drive permissions right. I wanted to add a user to a certain group with usermod -G, but without realising I should also use -a, with the result that the user is now not longer in the sudo group. This is the only (regular) user on the system, which means I can not sudo usermod again to get it right. So what to do? The only solution I can think of is using a live disc to restore the group belongings, but I want to know if there's a quicker way. Also, I don't know what more groups the user was in. Is there a history? Or else, what are the default groups?

View 5 Replies View Related

Ubuntu :: User Group Permissions Mess Up

Apr 14, 2011

My main account 'dave' runs as admin etc This was the output of 'groups dave': dave adm dialout cdrom plugdev lpadmin sambashare admin I was trying to add dave to the user group 'media-www' and i ran this command: 'usermod -G media-www dave' Then after another 'groups dave':
dave : dave media-www It seems to have removed all the other groups! How do I restore this?

View 4 Replies View Related

General :: Ssh + Force User And Group On Mkdir?

Apr 19, 2010

im trying to implements mercurial repositories using ssh access.The problem is that if a login via ssh with the user "userA" all file upload vi that user are created with the owner: userA:userA and i need to use the group of the parent directory... is that posible ?For example:

repos ( root:repo)
-> project1 ( root:repoPrj1 )
-> file1 ( userA:usearA ) -> here i want userA:repoPrj1

View 1 Replies View Related

General :: Adding User To A Secondary Group?

Sep 10, 2009

If user1's main group is genetics and one wants to add him/her to group biochem and to assign biochem as his/her secondary group will the following suffice ?

Code:

$ sudo usermod -G biochem user1

I would like for user1 to have genetics as the main group but also belong to biochem. When user1 creates a file, as he/she belongs to main group genetics, I assume the file will be owned by user1 and group owner will be genetics. Ideally files created by user1 should be accessible to users in group genetics(when permissions are tweaked) but not by individuals in group biochem. However, any files with group owner biochem should be accessible to user1 as he/she does belong to biochem as a secondary group. Would having user1 main group genetics, secondary group biochem fulfil this criteria ?

View 5 Replies View Related

General :: Changing Primary Group On A User?

May 18, 2010

Does anyone know how to change the primary group on a user without changing the password? I've tried updating the /etc/passwd and running usermod -g group userBoth of those does change the group but somehow it messes up the password so the user cannot get in with the same password.

View 5 Replies View Related

General :: Files To Inherit User And Group?

Mar 8, 2010

i have a directory ( /dir1) that belongs to a user1:group1. I need to know if this is possible and if so a basic idea of how to. when i copy a file into /dir1 (as root) i would like it to obtain a different user and group. Is this possible?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved