[Qlustar-General] run command after boot as specific user
9 Jul
2019
9 Jul
'19
3:03 p.m.
Hej, What would be the best way to execute command after boot, as a specific user, only on VFend? Cheers, iggy
11 Jul
11 Jul
9:02 a.m.
New subject: [Qlustar-General] Re: run command after boot as specific user
"I" == ignas bunikis <ignas.bunikis@scilifelab.uu.se> writes:
Hi Iggy, I> Hej, What would be the best way to execute command after boot, as I> a specific user, only on VFend? create an NFS boot script [1] and add a filter like: [ "$HOSTNAME" = "my-fe-node" ] || exit 0 at the top. Then use 'su - <user> -c <command>'. Best, Roland [1] https://docs.qlustar.com/en-US/Qlustar_Cluster_OS/11.0/html-single/Administr...
15 Jul
15 Jul
10:58 a.m.
New subject: [Qlustar-General] Re: run command after boot as specific user
Thank you Roland! This does the job. Cheers, Iggy
2660
Age (days ago)
2666
Last active (days ago)
2 comments
2 participants
participants (2)
-
ignas.bunikis@scilifelab.uu.se -
Roland Fehrenbacher