|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Change the default group of a user
Hi ,
for user test we have 3 groups. 1. test 2. dba 3. qa by default the group it test. How can I change the default group to dba? |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
Which OS?
usermod is typically available on most OS's, but without knowing your OS, we can't say which command you should use. |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
uname -a returning this result Code:
Linux ***************** 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Hostname removed. Also usermod not working. And I don't have the root privilege. |
|
#4
|
||||
|
||||
|
If you don't have root privileges, then you'd better ask someone who has
![]() |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Quote:
Thought it can be done without root access. Seems like need to raise ticket for the same to unix admin and have to wait for their SLA ![]() |
| Sponsored Links | |
|
|
#6
|
||||
|
||||
|
You might be able to use newgrp but that is only a temporary change.
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default user:group permissions while creating files and directories | sunnysthakur | Linux | 3 | 09-08-2012 03:46 PM |
| How to change default group? | appualex | UNIX for Advanced & Expert Users | 5 | 10-20-2010 08:30 AM |
| How to change Default Shell for any user? | lalit21984 | UNIX for Dummies Questions & Answers | 1 | 03-10-2010 04:15 AM |
| AIX user ID and group ID change | sacguy08 | UNIX for Dummies Questions & Answers | 2 | 11-12-2009 11:04 AM |
| Find all files with group read OR group write OR user write permission | shunter63 | Shell Programming and Scripting | 5 | 01-14-2009 12:06 PM |
|
|