Category Ubuntu

redhat add multiple users

useradd script to add multiple users to a system and force them to change their password upon login try the following script: Redhat # for name in someuser anotheruser yetanotheruser; do useradd $name; echo ‘password’ | passwd –stdin $name; chage…

One Liners

Linux and Bash One Liners Command Line Fu – Top One Liners [rssinpage rssfeed=’http://www.commandlinefu.com/commands/browse/sort-by-votes/rss/’ rssitems=’20’ rsstarget=’_blank’] Bash one Liners [rssinpage rssfeed=’http://www.bashoneliners.com/main/feeds/’ rssitems=’20’ rsstarget=’_blank’]