Logo Linux Bash SSH Ubuntu Git Menu
 

Logon scripts from linux to linux

I have some linux desktop boxes and I would like to launch different logon scripts depending on which user logs to each computer. I would like to manage it from a centralized place, like windows gpo in active directory.

Which opensouce/GNU solution are you using for that purpose?

Thanks.

like image 641
Marc Riera Avatar asked Apr 08 '26 22:04

Marc Riera


1 Answers

You want to look at something like Puppet or Chef for the configuration management aspect of GPO. You can use this to do all the software deployment, patching, sudoers configuration.

You might want to look at PAM to do some things when people log in, but mostly, something like /etc/profile or /etc/bashrc assuming all your users use bash.

like image 83
David Pashley Avatar answered Apr 12 '26 17:04

David Pashley