|
[Sponsors] |
June 27, 2018, 16:48 |
su root Authentication Error
|
#1 |
New Member
S
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
I ran
$./startMacOpenFOAM $su root then typed the password inside the startMacOpenFOAM file ofuser2017 and received su: Authentication failure does anyone know what might cause this? |
|
July 10, 2018, 03:48 |
|
#2 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
Sorry not very clear what are you doing. You are entering the password to a file? What are you trying to do what is not working?
|
|
July 29, 2018, 14:39 |
|
#3 |
New Member
S
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
I'm trying to install some things within the Docker environment for MAC according to the instructions here
https://www.openfoam.com/download/in...binary-mac.php Specifically, this line in the instructions: The image itself was created from CentOS 7.3. If you wish to install any additional tool in your docker container, start it as usual via the startOpenFOAM script, login as root with the password ofuser2017 and use e.g. yum. But I seem to be misunderstanding something about how to login as root. I thought I should run the startup script $ ./startMacOpenFOAM then try becoming root with $ su but the password ofuser2017 seems to result in an Authentication Error. Any advice would be greatly appreciated. |
|
July 29, 2018, 15:39 |
|
#4 |
New Member
S
Join Date: Jun 2016
Posts: 15
Rep Power: 10 |
After reading through this thread
https://www.cfd-online.com/Forums/op...tml#post668985 This seems to work for me on a mac using v1712 Code:
docker run -u 0 -it <docker container> bash Code:
docker images |
|
Tags |
authentication, mac, root, su-command |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 07:35 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 12:39 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 10:30 |