Sorting of passwd/group files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mar 31, 2006, at 11:31 AM, Kai Schaetzl wrote:

> Is there a program on CentOS which will sort my passwd/group etc.  
> files by
> username or uid/gid? On Suse I can do this with a sysconfig switch and
> Suseconfig, is there something similar on RH-based systems?
>
> Kai
>
> -- 
> Kai Sch?tzl, Berlin, Germany
> Get your web at Conactive Internet Services: http://www.conactive.com
>

e.g.
sort -t: +0 /etc/passwd >outfile-byname
sort -t: -n +2 /etc/passwd >outfile-byuid
?

for what purpose do you need this?

Tony

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux