Page 2 of 2

Re: Problem executing post-conf on RHEL 8.8

Published: November 27, 2024 - 1:34 PM
by sfonteneau
Can you try a:

Code: Select all

sudo -i 
/opt/wapt/waptserver/scripts/postconf.sh
Your user doesn't have the necessary permissions without sudo. If you run `sudo -i` before executing postconf, it should work in my opinion

Re: Problem executing post-conf on RHEL 8.8

Published: November 28, 2024 - 2:35 PM
by silica
Good morning,

Thank you for your response.

Unfortunately...

Code: Select all

[user@srvwapt script]$ sudo -i /opt/wapt/waptserver/scripts/postconf.sh --cspn-toe
This account is currently not available.

Re: Problem executing post-conf on RHEL 8.8

Published: November 28, 2024 - 2:40 PM
by sfonteneau
A minor misunderstanding
First of all :

Code: Select all

sudo -i
Then :

Code: Select all

/opt/wapt/waptserver/scripts/postconf.sh 

Re: Problem executing post-conf on RHEL 8.8

Published: November 28, 2024 - 2:46 PM
by silica
Ah yes, sorry. However, the result is the same:

Code: Select all

[user@srvwapt script]$ sudo -i
This account is currently not available.

Re: Problem executing post-conf on RHEL 8.8

Published: November 28, 2024 - 2:56 PM
by sfonteneau
And

Code: Select all

su -
instead of sudo -i?

that works ?

Re: Problem executing post-conf on RHEL 8.8

Published: November 28, 2024 - 4:12 PM
by silica
Unfortunately not:

Code: Select all

[user@srvwapt script]$ su -
Password:
Last failed login: Fri Nov  8 07:56:48 CET 2024 on pts/0
There were 4 failed login attempts since the last successful login.
This account is currently not available.
If the goal is to run the script as root, I can do it with

Code: Select all

[user@srvwapt script]$ sudo -u root -s
[root@srvwapt script]#
But as mentioned in my previous messages, there are errors during the execution of the post-conf.

Re: Problem executing post-conf on RHEL 8.8

Published: Dec 4, 2024 - 09:27
by silica
Hello,

would it be best if I submitted an official support ticket?

Regards