script depends on uid 1000
Bug #2004543 reported by
Peter Jose De Sousa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-cert-server |
New
|
Undecided
|
Unassigned |
Bug Description
hello,
when running the maniacs-setup the script will stop on UID 1000 - if this uid does not exist the script will exit.
[workaround]
set your current user to have uid 1000:
$ sudo usermod -u 1000 $USER
Thanks,
Peter
Related branches
~rodsmith/maas-cert-server:fix-uuid-1000
- Jeff Lane : Approve
-
Diff: 253 lines (+82/-46)2 files modifieddebian/changelog (+8/-0)
usr/sbin/maniacs-setup (+74/-46)
To post a comment you must log in.
We look for UID1000 as that is the UID for the default user created during install, as seen over several MAAS and ISO installs. has that behaviour changed?
I wonder if this can't be handled better by grabbing the first user account at 1000 or higher... or perhaps providing a list of options like:
We discovered the following user accounts: which one should be used as the admin account?
1: myuser uid 1001
2: ubuntu uid:1002
Pick one: __