Announcement

Collapse
No announcement yet.

kdesu and umount cd

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

    kdesu and umount cd

    Back in April( on: April 23, 2007, 10:24:12 am ») I asked about this but only as an addition to my main question.
    Problem
    I have been unable to umount and eject from my dvd/cd reader except by rebooting the computer.
    Today I noticed that , on right clicking the desktop cdrom icon it said owned by root.
    So i opened the "run command" window and typed
    kdesu umountcdrom0
    It asked for my password
    I then went to the desktop, clicked on the eject button and it worked.
    BUT
    I could no longer access the net.
    I seem to remember reading something about the root system only staying in operation for 15 minutes; so I waited 20 minutes in the hope that I could again access the net
    NOGO.
    I disconnected the power to the dsl modem and to my router and then reconnected
    ALL now OK.
    Is there some other command that I can enter which will umount my cd without cutting my net access?
    thanks

    #2
    Re: kdesu and umount cd

    Verify that in User Management cdrom is included in the secondary groups for your user account.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: kdesu and umount cd

      thanks Snowhog
      I went to "users and groups"and there is mo mention of "cdrom"
      How do I fix this?
      (in detail if possible)
      Thanks

      ppy, audio, dip, video, plugdev, lpadmin, scanner, admin

      Comment


        #4
        Re: kdesu and umount cd

        anyone?

        Comment


          #5
          Re: kdesu and umount cd

          KMenu>System Settings>User Management, click the Administrator Mode button, highlight your user, click the "Modify" button, and in the window that opens, find "cdrom" in the left column, highlight it, and click "Add -->" to add it to the user.

          Comment


            #6
            Re: kdesu and umount cd

            Thanks
            I have in "system setting" no" user management" .
            I do have "user and groups"
            clicking on this I find my name already highlighted.
            I click on "modify" and can only find "cdrom" in the primary group listing.
            I highlight it but there is no add button.
            There is a "secondary group horizontal listing and if I click on the "select button" 2 drop down menus appear; one called" available groups" and the other "seleted groups"
            No cdrom listing
            What am I doing wrong?
            thanks

            Comment


              #7
              Re: kdesu and umount cd

              Any ideas?

              Comment


                #8
                Re: kdesu and umount cd

                Commands (in the konsole):

                man groups (konqueror man:groups)
                GROUPS(1) User Commands GROUPS(1)

                NAME
                groups - print the groups a user is in

                SYNOPSIS
                groups [OPTION]... [USERNAME]...

                DESCRIPTION
                --help display this help and exit

                --version
                output version information and exit

                Same as id -Gn. If no USERNAME, use current process.
                man usermod (konqueror man:usermod)
                USERMOD(8) USERMOD(8)

                NAME
                usermod - Modify a user account

                SYNOPSIS
                usermod [-c comment] [-d home_dir [-m ]] [-e expire_date]
                [-f inactive_days] [-g initial_group]
                [-G group1 [ ,group2,... , [groupN] [-a] ]] [-l new_login_name]
                [-p password] [-s shell] [-u uid [-o ]] [-L -U] login_name

                DESCRIPTION
                The usermod command modifies the system account files to reflect the
                changes that are specified on the command line.
                More:
                Howto: Linux add user to group
                http://www.cyberciti.biz/faq/howto-l...user-to-group/

                Managing Group Access
                http://www.yolinux.com/TUTORIALS/Lin...ingGroups.html


                So =>

                Check groups:
                Code:
                ~$ groups <user>
                <user> : <user> adm dialout cdrom floppy audio dip video plugdev lpadmin scanner admin
                Check users in the group cdrom:
                Code:
                :~$ grep cdrom /etc/group
                cdrom:24:<user>,hal,haldaemon
                Add a existing user to existing group
                Code:
                sudo usermod -a -G cdrom <user>
                Note
                If /etc/group don't have group cdrom:
                Managing Group Access ->
                Grant use of a device to system users:

                The first example will be of granting access to a device, the CD-ROM. This is generally not done for regular users on a server. Server access to a CD-ROM is limited to root by default. (This example may also be applied to the diskette. Group: floppy, first floppy device: /dev/fd0)

                1. Grant mount privileges to system users
                2. Create group cdrom .
                3. Allow use of device by group cdrom .
                4. Add user to group cdrom .
                .
                .
                .



                In the Kubuntu Dapper (System Settings):

                K > System Settings > Users & Groups > Administrator Mode

                Modify > In the Secondary Groups -> Press Select button-> Select Groups pops up:
                Attached Files
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment

                Working...
                X