Results 1 to 5 of 5

Thread: KDE permissions and user permissions!!!

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Location
    Varna,Bulgaria
    Posts
    17

    KDE permissions and user permissions!!!

    After hdd install an ordinary user(not super user) can not mount hard drive partition,
    on the other side the same user running KDE could mount the partition.
    This is true as well for the commands as: halt, restart and so on.

    Is there a specific reason for this situation?

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    What Knoppix version; what install type?

    Permissions to access drives is set by /etc/fstab; permissions can be set to deny users write access or total access to drives. 'mount' command is always reseved for su only; on CD the script run by the cd icons mounts the drive as su since there is no su password it can do this without any action by the user. On a HD install with a root password set and users other than 'knoppix' this is not so. User knoppix on CD or on Knoppix type hd install has full sudo priviladges with no password required.

  3. #3
    Junior Member registered user
    Join Date
    Jun 2003
    Location
    Varna,Bulgaria
    Posts
    17
    Knoppix v.3.7 install with knx-hdinstall or something like.
    I've checked a few sites and from sun's site I've understood that there were a file called /tmp/ICE-unix

    here I'll post the suggested sollution of the discussed problem:

    When you start KDE for the first time, if you start as root, it creates a /tmp/.ICE unix.
    This gives KDE the wrong permissions.
    To fix, login in a different desktop and do "chmod 1777 /tmp/.ICE-unix" then a normal user will work.
    NOTE: if you login as root in KDE again it'll reset back.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Huh? No clue what you mean.

    Unix was designed to be a multi-user operating system. If I, say, ran a small Internet Services Provider business and my servers ran Unix, do you think I'd want any of my users to be able to mount or dismount disks, or halt or restart the system, at will? No, only I as administrator should be able to do that. In other words, it's not a bug, it's a feature.

    As CrashedAgain said, Knoppix running from the CD (or installed to hard disk using a "Knoppix-style" install) is different from regular Linux, since you can become root without a password.

    Can't see how changing the permissions of /tmp/.ICE-unix is going to make a regular user into a super-user. Nor can I see why you wouldn't just simply become root to do those things you mentioned.

  5. #5
    Junior Member registered user
    Join Date
    Jun 2003
    Location
    Varna,Bulgaria
    Posts
    17
    look at the previous post.
    The problem is with the default installation of Knoppix -> then KDE takes over ROOT permissions and any user logged LOCALY on the computer could operate with KDE as ROOT(doing such jobs as halt, reboot, mount etc...)

    changing permissions of /tmp/ice... would't turn user into super user.
    It just will make KDE with superuser permissions.

Similar Threads

  1. User Permissions for Your USB Camera
    By sakiZ in forum Tips and Tricks
    Replies: 2
    Last Post: 08-21-2006, 02:41 AM
  2. Changing User Permissions?
    By crazy_monkey108 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 06-19-2006, 09:23 AM
  3. Permissions
    By w5uc in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 05-01-2005, 08:18 PM
  4. New User Help on file permissions
    By chachi in forum General Support
    Replies: 1
    Last Post: 07-13-2004, 01:29 AM
  5. change permissions
    By tony177 in forum General Support
    Replies: 4
    Last Post: 06-22-2004, 10:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ picture

Western Digital 1TB WD Blue PC Desktop 3.5'' Internal CMR Hard Drive - WD10EARZ

$44.99



Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ picture

Western Digital 1TB WD Gold Enterprise Class SATA Internal HDD - WD1005FBYZ

$84.99



SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$99.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$23.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



1TB HDD/SSD 2.5

1TB HDD/SSD 2.5" SATA Hard Drive for Laptop with Win 10/Win 11 Pro Pre-installed

$29.95



Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe picture

Crucial - P3 Plus 1TB Internal SSD PCIe Gen 4 x4 NVMe

$69.99



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage US

$26.29



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$198.99