View Single Post
  #1 (permalink)  
Old 20-08-2008, 01:07 PM
chandregowda chandregowda is offline
Junior Member
User
 
Join Date: Aug 2008
OS: Red Hat and SUSE
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
chandregowda is on a distinguished road
Default user name not updated in /etc/group file

Hi

I have created user abc123 with primary group "users" and secondary group "work".but user abc123 is not showing in group "user" in the in /etc/group file.

i have given commands like below

$more /etc/passwd|grep abc123
abc123:*:21344:20:testuser:/home/test:/usr/bin/ksh

$more /etc/group |grep users
users::20:root,arcade

but if i check with id commannd its displaying the groupname for abc123
$id -ng abc123
users

$id -nG abc123
work
Reply With Quote