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.
Apparently I failed to give myself permission to edit files in my /etc folder. In fact, I don't seem to have permission to open some of my own folders. I thought I was root. I'm the only account on this system. I'm running Mandrake 9.1. How do I give myself permission to do whatever I want? lol, sounds like a funny question.
Also upon attempting to edit my user profile I seemed to mess up something. When I click on "UserDrake" in the control center it now tells me "Cannot lock user lib, file/etc/ptmp or /etc/gtmp exist"
nah, that just means that the app crashed at a bad point last time you used it or somethign like that. as long as you don't have anything else open that would be editing the profiles, just delete those lock files listed there.
Well, it won't let me type in a name when I log. It's a graphical interface and your supposed to click on the user and log in as that user. There is only one user and he doesn't have permission to do anything bad to the system...like fix it, lol, or add a user to the system, like "root". Sigh, any ideas?
Yes! Now I can do some damage! Worst case I have to reinstall. Many thanks David. LOL, the screen is all red to warn me that I can do some serious damage from here. How else am I supposed to learn how something works if I can't break is a few times =) ?
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
evedently you aren't using gdm or kdm as your login mamager, as those allow you just to type in the login and password
you should be able to select that (if it's installed) by editing the /etc/inittab file
You probably selected to autologin your user during the install process. You can change that back via Mandrake control center.
You could give your user all of the permissions of root or login as root all of the time but that is not a wise idea. Besides from security issues with one slip of the keyboard you could delete your entire system.
Another method (command line )to login in as root is to open up a console window i.e xterm etc and use the su command. Type in the root password at the prompt. Take care of business. Then ype in exit to return to user.
I have so much to learn. I'm used to feeling like I have complete control over my system in ms windows. I'm going to try a new login manager, the Mandrake login thing is a bit cheesy.
Am I understanding correctly? "Root" shouldn't use the gui? How does one edit files as root then?
For example: I wanted to edit /etc/fstab to make my Sandisk flash memory card reader work. I managed to do that by using the method david_ross described above and opening the file with Kwriter. It that not the way this type of thing is normally done?
Originally posted by acid_kewpie nah, that just means that the app crashed at a bad point last time you used it or somethign like that. as long as you don't have anything else open that would be editing the profiles, just delete those lock files listed there.
What's the command for this? I managed to do the same exact thing, and I'm a *complete" newb.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.