Comments (3)
What image are you running this command on?
If I use the prebuild version from docker hub I don't see this error:
Bergkamp-stable$ docker run -it --entrypoint=/bin/bash ibmcom/ace-mq -i
(ACE_11:)root@726eb778b4a4:/home/aceuser# sudo su - mqm
No directory, logging in with HOME=/
$ id
uid=999(mqm) gid=999(mqm) groups=999(mqm)
$ exit
If i run the non mq version I do see the warning about sudo but this image does not include an mqm user so would expect the sudo command to fail.
from ace-docker.
I followed the instructions to first build the ace-only image, and after that I built the ace-mqclient image. I was trying to update the "mqclient.ini" file under "/var/mqm" to add the "CertificateLabel=" line, but everything is owned by "mqm" and the "aceuser" is not part of that group. The "id" command below does show "aceuser" as part of the "sudo" group but it can't run sudo commands.
[docker@reg2lxap0034 ubuntu]$ docker exec -it aceserver /bin/bash
To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
(ACE_11:)aceuser@c64d72f45074:~$ id
uid=1000(aceuser) gid=1001(aceuser) groups=1001(aceuser),27(sudo),1000(mqbrkrs)
(ACE_11:)aceuser@c64d72f45074:~$ sudo su - mqm
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
from ace-docker.
FYI, my objective is to use the "mqKeyRepository" property in the server.conf.yaml file to set up an SSL connection to a remote MQ server. In the "ubuntu/installMQClient.sh" script I had to add the "ibmmq-gskit" debian package to allow me to run the "runmqakm" command to create a kdb for my MQ client. In order to temporarily circumvent the "sudo su - mqm" command issue, I had to add "usermod -a -G mqm aceuser" in the script file so that I could update the "mqclient.ini" file.
It would still be nice to be able to run the "sudo" command.
from ace-docker.
Related Issues (20)
- mkdir in dockerfiles fail on re-runs HOT 1
- runmqserver executable not in path HOT 1
- Got "Java node error: [BIPmsgs:3423]BIP3423E: WebSphere Adapters nodes failed to load..." when deploying msgflow to integration server in ace-mqclient container HOT 1
- ACE-MQ combined image fails to start HOT 3
- Needs Dockerfile samples for zSeries HOT 1
- How to change default events log file location and number of events log file for ACE integration server HOT 1
- How to add the datasource.json file to define a connection to a postgres database HOT 3
- Ace 12 image fails to build HOT 3
- ACE 12 build failures HOT 4
- ACE Image version 11 not build.. Getting go vet command fails. HOT 2
- Library used on Linux image not found on M1 ARM64 HOT 8
- ACE not sending resource statistic events to remote IBM MQ HOT 3
- Lil path folders HOT 1
- How to fix PKIX path building failed in java 6 HOT 1
- ACE+ITX Image HOT 1
- multiline *-users.txt (admin,audit,operator,viewer) don't work HOT 1
- Build error extending base ACE 12 image HOT 4
- Failed to make a client connection to queue manager 'MQ DEV' using hostname 'host.docker.internal' on port '1414': MQCC=2; MQRC=2012 HOT 1
- is there an image variant used for CI? HOT 4
- ACE container image is TOO LARGE! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ace-docker.