It seems that AIX 5.2 has added the username and a colon ) to the output of the groups command. Does anyone know how to strip off the username and the colon?
ex. on 5.2
test01:/home/root (1002)#groups testuser
test : system adm security
I'd like the output to be:
test01:/home/root (1002)#groups testuser
system adm security
Thanks.
ex. on 5.2
test01:/home/root (1002)#groups testuser
test : system adm security
I'd like the output to be:
test01:/home/root (1002)#groups testuser
system adm security
Thanks.