LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-14-2006, 06:54 PM   #1
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Rep: Reputation: 15
login as root


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
 
Old 02-14-2006, 07:20 PM   #2
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
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.
 
Old 02-14-2006, 07:26 PM   #3
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
usb stick

Because I have installed usb stick but if I am not root, I cant access it. I want to access it on desktop but I cant.
 
Old 02-14-2006, 07:42 PM   #4
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
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>
man mount

for a better understanding of how this works or check out this webpage
http://www.tuxfiles.org/linuxhelp/fstab.html

Last edited by accessrichard; 02-14-2006 at 07:45 PM.
 
Old 02-14-2006, 08:28 PM   #5
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
thank you very much

I have tried and it works thanks
 
Old 02-15-2006, 12:00 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
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...
 
Old 02-15-2006, 01:30 PM   #7
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to login as user; can login as root. rksanders Debian 24 02-09-2011 08:01 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration