Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hey, i need to login 400 users, and cause it would take quite some time loggin them in one by one by hand. I want to ask is there a script to auto login users over ssh/ or another protocol??
I have heard about keygen but then i would make to make a key for every user and that would take me forever. I only need to log them in once, so its not that i have to do it ever again.
Is this possible??
Do you have to log in on the same machine? You could log in as root, and then use a bash script to loop over all your users, let them execute a specific script, and then quit.
$> for user in ( user1 user2 user3 ); do su - $user ls; done
(this will make an "ls" for all users)
Hope this helps