6
rated 0 times
[
6]
[
0]
/ answers: 1 / hits: 12004
/ 2 Years ago, sun, april 10, 2022, 7:21:27
I have some commends that I wish to be called right after login, including 'startx', and I thought rc.local
seems a nice place for them, but the problem is that rc.local
is run as root and I don't want that, obviously I can do something like this:
su username -c somecommend-here
But I am looking for a way to run the whole 'rc.local' as normal user, or perhaps there is a better place to put my code ?
PS. I am using Ubuntu-mini-remix 1104i386
Thanks
More From » startup