__gmon_start__ _init _fini __cxa_finalize _Jv_RegisterClasses PyStructSequence_New PyList_New PyString_FromString PyList_Append _PyInt_FromGid PyErr_Occurred _Py_NoneStruct setgrent getgrent endgrent PyObject_Str getgrnam PyExc_KeyError PyErr_Format PyNumber_Int _Py_Gid_Converter getgrgid initgrp Py_InitModule4 PyModule_GetDict PyDict_SetItemString PyStructSequence_InitType libc.so.6 _edata __bss_start _end GLIBC_2.1.3 GLIBC_2.0
getgrnam(): name not found: %s getgrgid(): gid not found: %lu getgrgid(id) -> tuple Return the group database entry for the given numeric group ID. If id is not valid, raise KeyError. getgrnam(name) -> tuple Return the group database entry for the given group name. If name is not valid, raise KeyError. getgrall() -> list of tuples Return a list of all available group entries, in arbitrary order. An entry whose name starts with '+' or '-' represents an instruction to use YP/NIS and may not be accessible via getgrnam or getgrgid. grp getgrgid getgrnam getgrall grp.struct_group gr_name group name gr_passwd password gr_gid group id gr_mem group memebers
# Access to the Unix group database. Group entries are reported as 4-tuples containing the following fields from the group database, in order: name - name of the group passwd - group password (encrypted); often empty gid - numeric ID of the group mem - list of members The gid is an integer, name and password are strings. (Note that most users are not explicitly listed as members of the groups they are in according to the password database. Check both databases to get complete membership information.) grp.struct_group: Results from getgr*() routines. This object may be accessed either as a tuple of (gr_name,gr_passwd,gr_gid,gr_mem) or via the object attributes as named in the above tuple. $ & @'
GCC: (GNU) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) GCC: (GNU) 4.6.x-google 20120106 (prerelease) GCC: (GNU) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
.symtab .strtab .shstrtab .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .text .fini .rodata .eh_frame_hdr .eh_frame .ctors .dtors .jcr .dynamic .got .got.plt .data .bss .comment .debug_aranges .debug_info .debug_abbrev .debug_line .debug_ranges
initfini.c crtstuff.c __CTOR_LIST__ __DTOR_LIST__ __JCR_LIST__ __do_global_dtors_aux completed.5467 dtor_idx.5469 frame_dummy __CTOR_END__ __FRAME_END__ __JCR_END__ __do_global_ctors_aux grpmodule.c mkgrent StructGrpType grp_getgrall grp_getgrnam grp_getgrgid grp__doc__ grp_methods initialized struct_group_type_desc struct_group__doc__ struct_group_type_fields _GLOBAL_OFFSET_TABLE_ __x86.get_pc_thunk.bx __dso_handle __DTOR_END__ _DYNAMIC PyDict_SetItemString __gmon_start__ _Jv_RegisterClasses getgrnam@@GLIBC_2.0 _fini PyExc_KeyError PyObject_Str PyErr_Format PyErr_Occurred PyString_FromString setgrent@@GLIBC_2.0 PyModule_GetDict getgrent@@GLIBC_2.0 PyStructSequence_InitType __bss_start _Py_NoneStruct PyStructSequence_New PyList_Append _Py_Gid_Converter _PyInt_FromGid getgrgid@@GLIBC_2.0 Py_InitModule4 _end initgrp PyNumber_Int _edata PyList_New __cxa_finalize@@GLIBC_2.1.3 endgrent@@GLIBC_2.0 _init