Force the home directory to be /home/rundeck (or perhaps /var/lib/rundeck/)
Reported by Deleted User | May 12th, 2011 @ 03:17 PM | in Rundeck 1.4.3 (closed)
Relying on the adduser command to place the rundeck user in the /home/rundeck is not always reliable. Seen /export/home/rundeck.
Comments and changes to this ticket
-
Moses Lei May 19th, 2011 @ 01:26 PM
I believe the only thing we put in the rundeck home directory is the ssh key. If that's the case, generating the key into ~rundeck (whatever it is) and using ${user.home}/.ssh/name_of_id_rsa in framework.properties might be a solution.
-
Alex-SF June 6th, 2011 @ 09:18 AM
- Milestone order changed from 35 to 0
+1 on basing it on ~rundeck, if that is compatible with RPM installer.
-
Alex-SF June 8th, 2011 @ 08:41 AM
- Assigned user set to Deleted User
-
Alex-SF June 8th, 2011 @ 11:50 AM
- Tag changed from rpm installer to feature request, rpm installer
-
Alex Iannicelli June 13th, 2011 @ 10:03 AM
This is a show stopper for me because we are using NIS for user accounts and automounting the home directory and we can not add a user to the /home/ directory. I did adduser rundeck and gave it a different home directory, but when I try to use rundeck it still looks in the /home/rundeck/ directory for the ssh keys. Adding comment mostly to get notice when it is fixed and also to note the priority of this issue. Thanks - I can't wait until this works!
-
Deleted User June 13th, 2011 @ 10:30 AM
Is /var/lib/rundeck more appropriate? I think avoiding the /home directory all together is a wise move.
-
Deleted User June 30th, 2011 @ 02:37 PM
I think so...since nothing depends on the /home/rundeck convention. I'll change it to /var/lib/rundeck...now should I make it a nologin shell?
-
Greg Schueler July 15th, 2011 @ 11:08 AM
- Milestone cleared.
-
Greg Schueler April 30th, 2012 @ 04:21 PM
- Assigned user changed from Deleted User to Greg Schueler
- Milestone set to Rundeck 1.4.3
- Milestone order changed from 36 to 0
-
Greg Schueler April 30th, 2012 @ 04:21 PM
- State changed from new to needs_verification
(from [b2e0f02545aa2b50fc96ba8dc34d49274b06c1df]) Change default rsa key, rundeck home dir
[#517 state:needs_verification] [#287 state:needs_verification] https://github.com/dtolabs/rundeck/commit/b2e0f02545aa2b50fc96ba8dc...
-
Greg Schueler June 20th, 2012 @ 11:18 AM
- State changed from needs_verification to resolved
changed home directory to /var/lib/rundeck
-
Adam Kris July 18th, 2023 @ 09:37 PM
Placing a Rundeck user in a specific directory requires appropriate installation and configuration steps to ensure system security retro bowl and performance.
-
timothyferriss December 3rd, 2023 @ 06:07 PM
You're absolutely right, relying solely on adduser to place the rundeck user in its desired home NBA Grid directory can be unreliable. There are indeed cases where you might end up with unexpected locations like /export/home/rundeck.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Referenced by
- 517 default ssh key for projects doesn't match rpm install's rundeck user ssh key See also #287, #377 (could fix those at the same time as ...
- 517 default ssh key for projects doesn't match rpm install's rundeck user ssh key [#517 state:needs_verification] [#287 state:needs_verific...
- 216 Change home directory for rundeck user dupe #287