1
vote
How to write a shell script that gets executed on login?
In Debian/Ubuntu, just add your script to System settings > Workspace > Startup and Shutdown > Autostart.
This setting is written to smth like ~/.config/autostart/myscript.sh.desktop.
Google ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
login × 1301ssh × 183
linux × 168
debian × 126
bash × 122
shell × 105
users × 85
password × 85
ubuntu × 83
pam × 70
security × 65
linux-mint × 61
centos × 56
root × 49
authentication × 48
fedora × 46
gnome × 43
arch-linux × 42
terminal × 39
tty × 36
x11 × 32
profile × 32
systemd × 31
rhel × 31
environment-variables × 29