nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

HP-UX Remove User From Secondary Group

This is a discussion on HP-UX Remove User From Secondary Group within the HP-UX forums, part of the UNIX operating systems category; HI How to remove user abc123 from secondorygroup "work" It has only one secondary group "work"...


Go Back   nixCraft Linux Forum > UNIX operating systems > HP-UX

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 08-20-2008, 02:10 PM
Junior Member
User
 
Join Date: Aug 2008
My distro: Red Hat and SUSE
Posts: 2
Rep Power: 0
chandregowda is on a distinguished road
Default HP-UX Remove User From Secondary Group

HI

How to remove user abc123 from secondorygroup "work"

It has only one secondary group "work"
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-20-2008, 04:43 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 581
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Use usermod command to modify secondary group information or simply edit /etc/group file find group work and remove username "abc123"
Code:
vi /etc/group
Search for group work and remove abc123. Save and close the file.

usermod(1M)
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks

Tags
/etc/group , hpux


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
user name not updated in /etc/group file chandregowda HP-UX 1 08-31-2008 06:52 PM
Uninstall remove yum packages zafar466 Linux software 5 01-19-2008 10:38 PM
Ubuntu Linux add a user to group sweta Ubuntu / Debian 0 11-01-2007 03:41 AM
Add and Remove packages utility zafar466 Linux software 1 02-19-2007 03:31 PM
HP UX add, remove, modify, delete group managment howto rockdalinux HP-UX 0 12-20-2006 03:46 PM


All times are GMT +5.5. The time now is 09:33 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36