Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

opensuse 42.2 7 years 1 hour ago #10651

  • Scum
  • Scum's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Hello,
Impossible to have the rights of installation under opensuse 42.2
I have well to modify sudoers with my user name.
It worked with no problem at all under opensuse 42.1

thanks for your help.

Please Log in or Create an account to join the conversation.

Last edit: by Scum. Reason: Solved

opensuse 42.2 7 years 19 minutes ago #10654

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100

Scum wrote: Hello,
Impossible to have the rights of installation under opensuse 42.2


Please Sir give us more help
what did you mean ?
You can run "su" command to opensuse 42.2 ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

opensuse 42.2 7 years 4 minutes ago #10656

  • Scum
  • Scum's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Yes i can run "su" command

Thx

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10657

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
try
sudo nano /etc/sudoers

add
yourusername ALL=(ALL) NOPASSWD: ALL 
Defaults timestamp_timeout=-1

ctl+x and y to save and exit
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

opensuse 42.2 6 years 11 months ago #10659

  • Scum
  • Scum's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Same error : Current user can NOT run the sudo command.

I even added me to the wheel group.

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10660

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Did you install sudo ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10661

  • Scum
  • Scum's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Yes of course !

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10665

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir
we test LAB CT 6.10 on OpenSuse 42.2
without problems
Gnome3 Desktop with MultiArch CodeTyphon



PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

opensuse 42.2 6 years 11 months ago #10667

  • Georg Stegmüller
  • Georg Stegmüller's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
The problem might be, that your test for sudo rights seems to be flawed for nonenglish installations.

You launch uptime and check if the word "load" is part of the output. In the german version of OpenSuse the output of uptime does not contain "load" because it uses "Durchschnittslast". Therefore the test fails. The simple solution is to skip this test. Then everything works.

Bye,
Georg

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10668

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Thanks Sir
we can't do anything for this
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10669

  • Georg Stegmüller
  • Georg Stegmüller's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Dear Sternas!

I cannot test this at the moment, but have you considered to simply check the exitcode? As far as I understand it, successful sudo returns the exitcode of the command and unsuccesful sudo returns 1. So execute a command, that on success returns 0 and if you get a non-0 exitcode then you have no sudo rights. I am not a Linux developer, so maybe there are issues with this approach?

Bye!

Please Log in or Create an account to join the conversation.

opensuse 42.2 6 years 11 months ago #10671

  • Scum
  • Scum's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Thanks for your help.
I skip the test.
it works correctly.

Thanks.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1