473,467 Members | 1,985 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to change my group

5 New Member
I want to change my group from primary group to secondary or viceversa.

I don't have superuser access also.

could anybody please let me know how to do this.
Aug 18 '08 #1
5 20703
Nepomuk
3,112 Recognized Expert Specialist
The command you're looking for is usermod. Here's the manpage online: http://linux.die.net/man/8/usermod

So, to make specialGroup your new primary Group, use:
Expand|Select|Wrap|Line Numbers
  1. usermod -g specialGroup sanishr
(or whatever your username on the computer is)

I guess, if you do it for yourself, you shouldn't have to be a superuser. (Not tested.)

Greetings,
Nepomuk
Aug 18 '08 #2
sanishr
5 New Member
when I am trying to do this it is saying "Permission Denied"
Aug 19 '08 #3
Nepomuk
3,112 Recognized Expert Specialist
OK, not so good. But I may have another solution for you.

Check this page, paragraph Switching your default group: newgrp. That should allow you to work as Member of a different group until you exit the newly opened shell via exit.
Do remember however, that you'll only be using the new group as long as you don't exit the newly opened shell!

I hope that helps.

Greetings,
Nepomuk
Aug 19 '08 #4
wbgxx
6 New Member
you can do it well and you can do it badly ~!
best wish to you~!
Jan 7 '10 #5
numberwhun
3,509 Recognized Expert Moderator Specialist
@Nepomuk I hate to say it, but considering this following statement, I don't know if this will work for them either:

"This only works if you are a member of multiple groups otherwise you have no group to switch to."

Unless the OP is already a member of the other group they wish to change to, it doesn't seem to work. I actually just tried this and it failed.

If you are not part of a group, then you will need to contact an admin and get yourself added to the group you need to be a part of.

Regards,

Jeff
Jan 7 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an...
2
by: innesm | last post by:
Hi, Although I havent been able to find any documentation to confirm it, it looks like any change to a windows local group's membership is only reflected in the group editing UI (and the...
12
by: Arno R | last post by:
Hi there, I just distributed an application in which I (try to) change db.properties depending on CurrentUser() For instance I set the property's AllowBypassKey and AllowBuiltinToolbars to False...
2
by: Corrine | last post by:
Is there a way to cancel a change in an option group? The option group still changes to the option clicked on when clicking on the NO button with the following code in the BeforeUpdate event of the...
6
by: Evgeny Zoldin | last post by:
Hi ALL. I have the configuration: 1. WinXP PRO with MS IIS 5.0 and installed ASP.NET 2. ASP.NET application A configured to authenticate only users from local Users group. I would like to de...
6
by: Jan | last post by:
Hi: I have created a secured database for a client. For various reasons, I don't want the client to have full persmissions for the database; they aren't in the admins group. I have instead tried...
9
by: Brian Hampson | last post by:
I am trying to determine all the groups which the current user has permissions to add a member. Here's my code: foreach (System.DirectoryServices.SearchResult ADSearchres in...
0
by: Brian Mitchell | last post by:
Does anyone know how to programmatically change the Group Policy settings with .NET? (preferably VB) I found the IGroupPolicy object in the Platform SDK but I don't code with C and I have no idea...
0
by: Majid Bhutta | last post by:
Hi Dears! I am using crystal report 10 with C# 2005. I have an issue that i want to change the font of Group Header Text that is visible when we click on Toggle Group Tree button and a tree pane is...
11
tuxalot
by: tuxalot | last post by:
Another quick question for ya... Here's my button code, and I want to see if I can do something different so I don't have to repeat the same code for each of my 14 buttons in my option group: ...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.