Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I login as root on kde? If I logout, I cant see root, and just I can see my name as user. I know how to login on console but not on kde. thanks
This question is very confusing to me. If I understand your question right.
In kdm or gdm use username = root and password = <root password> but I do not see many reason to login to kde as root unless I took Michael Robertson of Linspire's points or I forgot the terminal commands to add users and had to log in as root to access the gui.
Maybe you are using a login manager/theme that only has users pictures and you can only type a password like the default in windows XP. In that case, I would go to the control panel and switch login manager themes in order to be able to enter usernames by typing them in.
Last edited by accessrichard; 02-14-2006 at 07:21 PM.
You can access it as user as long as you mount the usbdisk correcty. Maybe you can even change the permissions after you mount it but am not sure. Hopefully somebody on LQ can confirm this. After you mount to change the permissions I would try a chmod 755 /dev/sda1 or wherever it is mounted.
I am using sda1 in this example but I dont know what your usbdisk is mounted under, dmesg should tell you.
To mount it and have non-root access to it try as root from terminal.
Code:
umount /dev/sda1
mount -o rw exec uid="your user id" gid="your group id" /dev/sda1 /place/to/mount/usbdisk -t <the filesystem type>
The /etc/fstab file is also important in understanding how mount works.
Remember that Linux is designed to put the system administrator (which happens to be "you") in control. It does not trust its users, and does not give them much authority. You decide what ordinary users (such as yourself, most of the time) can do. And this is such an example.
You can decide that "ordinary users may mount this USB-device." You can decide whether or not the system should allow programs to be executed from that device. You can decide whether the files on the device "belong to" the user who mounted the device, or if they may be shared by other system users. These are the sorts of things that you, as "root," have the authority to specify, by means of the fstab file.
Incidentally, you should set up your ordinary user-account as being "limited" in this way... do not use the computer "routinely" as root. These "inconveniences" are there to protect you...
In the /etc/fstab if you wish to have regular users mount the flash drive you need to tell it to, append the /dev/sda* line with the users command
mine looks like this
Code:
/dev/sda1 /mnt/sda users,noauto 0 1
After you add it to the /etc/fstab, all you have to do to mount it is open a console and type mount /dev/sda1
Newer versions of KDM (KDE's login program) don't allow a user to log in through root in KDM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.