CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] su root Authentication Error

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Sgs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 27, 2018, 15:48
Default su root Authentication Error
  #1
Sgs
New Member
 
S
Join Date: Jun 2016
Posts: 15
Rep Power: 9
Sgs is on a distinguished road
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?
Sgs is offline   Reply With Quote

Old   July 10, 2018, 02:48
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
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?
matejfor is offline   Reply With Quote

Old   July 29, 2018, 13:39
Default
  #3
Sgs
New Member
 
S
Join Date: Jun 2016
Posts: 15
Rep Power: 9
Sgs is on a distinguished road
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.
Sgs is offline   Reply With Quote

Old   July 29, 2018, 14:39
Default
  #4
Sgs
New Member
 
S
Join Date: Jun 2016
Posts: 15
Rep Power: 9
Sgs is on a distinguished road
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
where the <docker container> is found using

Code:
docker images
wyldckat likes this.
Sgs is offline   Reply With Quote

Reply

Tags
authentication, mac, root, su-command


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DPM udf error haghshenasfard FLUENT 0 April 13, 2016 06:35
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." sega OpenFOAM Community Contributions 12 February 17, 2010 09:30


All times are GMT -4. The time now is 22:09.