Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/awk -f
- #
- # ARCH-Admin - User List awk sctipt
- #
- # A Dialog Menued version of the Admin Program. Similar
- # type of system is found on SCO UNIX. SCO admin is written in TCL.
- #
- # Some ideas came from CDM (Console Display Manager) as this is for
- # installing it was changed to CSM.
- #
- #-------------------------------------------------------------------------------
- # Script Created by Vincent - EZ-Arch Project (ezarchproject@gmail.com)
- # Distro Sourceforge - https://sourceforge.net/projects/ezarchlinux/
- # Distro Dailymotion - http://www.dailymotion.com/ezarchproject
- # Distro Youtube - https://www.youtube.com/channel/UC0k-5Jqbbg4o2jGnTSslZBg
- # Distro's Pastebin http://pastebin.com/u/ezarchproject
- #
- #
- #-------------------------------------------------------------------------------
- #This program is free software: you can redistribute it and/or modify
- #it under the terms of the GNU General Public License as published by
- #the Free Software Foundation, either version 3 of the License, or
- #(at your option) any later version.
- #
- #This program is distributed in the hope that it will be useful,
- #but WITHOUT ANY WARRANTY; without even the implied warranty of
- #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- #GNU General Public License for more details.
- #
- #You should have received a copy of the GNU General Public License
- #along with this program. If not, see <http://www.gnu.org/licenses/>.
- #-------------------------------------------------------------------------------
- # Run this script after your first boot with archlinux (as root)
- #--------------------------------------------------------------------------------
- # Explaination of the Script:
- #
- # Run the Script file with /etc/passwd and it will list the file
- # fields in the password file.
- #
- # $ scriptname /etc/password
- #
- ##########################################################################
- BEGIN{
- print "Username" "\t\t\t" "UID" "\t" " Comment"
- print "=========================================================================="
- FS=":"}
- {printf "%-23s \t %-5s \t %-23s\n", $1, $3, $5}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement