-
Junior Member
registered user
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?
-
Senior Member
registered user
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.
-
Junior Member
registered user
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.
-
Senior Member
registered user
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.
-
Junior Member
registered user
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
-
By sakiZ in forum Tips and Tricks
Replies: 2
Last Post: 08-21-2006, 02:41 AM
-
By crazy_monkey108 in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-19-2006, 09:23 AM
-
By w5uc in forum MS Windows & New to Linux
Replies: 4
Last Post: 05-01-2005, 08:18 PM
-
By chachi in forum General Support
Replies: 1
Last Post: 07-13-2004, 01:29 AM
-
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
-
Forum Rules
Vintage Disk Bank 5.25" Floppy Disk Storage Box Case Holder w/ Dividers
$29.95
Vintage Addison-Wesley Autodesk Collection PC CD Autocad R12 12 AutoVision etc
$145.00
Vintage VTECH Equalizer Laptop Computer 90s Works Great W/ Box
$89.99
Vintage Computer Printer Floppy Disc Diskette Labels 19 sheets 2.25 x 2.25"
$24.00
Vintage Intel Above Board PS/AT Memory 16bit ISA IBM PC XT PS/2 w/Expansion Card
$209.95
Vintage IBM 1390120 Model M Keyboard 1984 W/Cable Clicky Buckling Spring PS2
$65.50
NMB KEYBOARD RT2258TW NMB PS/2 BEIGE 121944-101 REV A VINTAGE NEW OLD STOCK
$25.99
Vintage Apple MacWorld Magazine Mousepad
$15.00
NCR Mechanical Clicky Keyboard Vintage H0150-STD1-12-17 Rare (2 Missing Keys)
$179.00
VINTAGE APPLE POWER MACINTOSH 6500/250 DESKTOP COMPUTER POWERPC BOOTS
$249.50