Announcement

Collapse
No announcement yet.

Admin Password

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Admin Password

    Hello,

    I have a shell script file that I am trying to run.

    When I double click on the file kubuntu asks for my administrator password.

    I type the password, but I get the message that it is incorrect!

    The password works every time I need to install updates.

    Does this mean that the script is corrupted?

    Thanks

    Ps. The script should install a lexmark printer driver - not in repository
    Last edited by anonprivate; Oct 14, 2015, 11:32 PM.
    kubuntu version: 16.04.5 LTS

    Laptop: Toshiba-Satellite-L350

    #2
    check the permissions on the file
    are you able to view the script in an editor?
    Kubuntu 18.04 on AMD

    Comment


      #3
      Thank you for replying.

      I have checked the permissions and note that 'Owner, and 'Group' have 'Read & Write' permissions. 'Group' has 'Can Read' permission.

      'Ownership'
      'User' is andrew
      'Group' is 'andrew'

      I am andrew.

      Regarding viewing. The file is a deb.sh file of 29.9 MiB. I have not tried to open such a large file (printer driver).

      Best Wishes.

      A
      kubuntu version: 16.04.5 LTS

      Laptop: Toshiba-Satellite-L350

      Comment


        #4
        Code:
        head deb.sh
        (whatever the actual file name is) should enable to test whether you can read the file.

        If you run the file from the command line -
        Code:
        ./deb.sh
        - what messages do you get? Do you get a command line prompt for your password or a GUI prompt?
        I'd rather be locked out than locked in.

        Comment


          #5
          Thank you for responding.

          when I run the file from the command line I see the following:

          Code:
          andrew@andrew-Dell-DM061:~/LexmarkDriver$ ./lexmark-inkjet-08-driver-1.0-1.i386.deb.sh
          Verifying archive integrity... All good.
          Uncompressing nixstaller...............................................................
          Collecting info for this system...
          Operating system: linux
          CPU Arch: x86
          TRACKING IDENT = 14052009
          cpu speed = 2793 MHz
          ram size = 999.87109375 MB
          hd avail = 204466 MB
          andrew@andrew-Dell-DM061:~/LexmarkDriver$
          After this, the Lexmark interface appears, asks for the administrator password, and then I see box telling me that it is wrong. It is correct.

          Best wishes.
          kubuntu version: 16.04.5 LTS

          Laptop: Toshiba-Satellite-L350

          Comment


            #6
            Searching with: 'ubuntu administrator password lexmark-inkjet-08-driver-1.0-1'

            -> Thread: How To: Install Lexmark All-In-Ones: http://ubuntuforums.org/showthread.php?t=1444847
            2. Install the Drivers and Printer Using "Sudo"

            If you've tried running the installation script you have realized that it asks you for your root password, and it will not accept your user's password (by default Ubuntu has no root password). You will need to use "sudo" to run the script to make this work (for more information on sudo, visit https://help.ubuntu.com/community/RootSudo)...


            ->
            Thread: lexmark x2670 driver not installing on Oneiric Ocelot: http://ubuntuforums.org/showthread.php?t=1880869

            -> Thread: Lexmark Driver: http://ubuntuforums.org/showthread.php?t=1021755
            Last edited by LinkBot; Oct 18, 2015, 03:17 AM.
            Try Me !

            Comment


              #7
              It's possible (though not very likely) that the Lexmark dialogue box is asking for a printer administrator password, not the Linux admin password.

              I don't think the script is corrupted.

              It's more possible that you are typing the password wrong ... can you try
              Code:
              sudo ./lexmark-inkjet-08-driver-1.0-1.i386.deb.sh
              This will prompt for your password as normal. Assuming the installer script doesn't start a new process it should then run OK.

              Another possibility is that the installer is actually trying to login as root (not using sudo) and doesn't understand Linux security.
              I'd rather be locked out than locked in.

              Comment


                #8
                Curses. I searched and didn't find the link that LinkBot just posted!
                I'd rather be locked out than locked in.

                Comment


                  #9
                  I tried using sudo and the driver tried to install, but it aborted with an error message (the window closed so I could not copy the output).

                  Someone on another board thinks that this driver, although the latests available, is too old for kubuntu 14.04.

                  If he is right, is there a method that will allow older software to be installed?

                  Best wishes
                  kubuntu version: 16.04.5 LTS

                  Laptop: Toshiba-Satellite-L350

                  Comment


                    #10
                    It would help if you could capture that error message somehow ...

                    If the error is just a dependency on another package, it could be easy to fix. But if it's using functions or libraries that have significantly changed, then it would really need development from lexmark.
                    I'd rather be locked out than locked in.

                    Comment


                      #11
                      How to Get Help With a Command from the Linux Terminal: http://www.howtogeek.com/108890/how-...rs-pros-alike/

                      logsave – save output of a Linux command to a file: http://www.ewhathow.com/2013/10/logs...and-to-a-file/
                      Try Me !

                      Comment


                        #12
                        (@LinkBot)
                        How to Get Help With a Command from the Linux Terminal: http://www.howtogeek.com/108890/how-...rs-pros-alike/

                        This is a good little tutorial, several neat tips (maybe even one or two for pro's, too). I added it to the front matter of
                        Commands at Konsole: Beginners

                        https://www.kubuntuforums.net/showth...sole-Beginners
                        An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

                        Comment

                        Working...
                        X