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.
i have slack 9.0 on my pc and i am the only user that ises my pc ... i have a little problem though ... this whole issue of root and normal user ... i know i am not supposed to work as root so i create a user account ... but whenever i wanna do something i must become root ... is there any advice suggestions answers ...
one other thing ... i know linux is multiuser and stuff hence the root and user thing ... is there a way to have it single user ???
thanx for reply ... well mostly it has to do with my directories and files and stuff ...
if i create a user and give it primary group root will i be able to create dir and move file around the system ... reason y permission is such a big thing is that i am practically in front of my 24/7 thus i do alot of file working ... and being restricted like this on a single user pc isn't very nice i also like to customize thing on my pc thus wanting access to some options that only root have ect ect ect
since i am the only user and only connected to the internet thru LAN can i then use the "set user ID and set group ID" ?????
tell me ... i poked around in my files and noticed that in inittab has a single user option ... can that work for me ?
one other thing - y does slackware keep on hiding my other partitions ? exmple hidden win95 fat32 (lba) or my swap partition unknown 92 ???? how can i correct this ?
Originally posted by g452 since i am the only user and only connected to the internet thru LAN can i then use the "set user ID and set group ID" ?????
If you run all your programs as sUID/sGID root then you might as well login as root all the time - it has the same effect.
It sounds me to me like you need to do a lot of your work as root, there's nothing wrong with that. The reason that people advise you to not login as root all the time is that any mistake you make when running as root has far more of an impact on the system. Its also a security problem; say you download a program that sounds really great, then run it as root and it does something like attempt to delete all files it can you're going to loose the entire system - not just one user's files.
The box that I'm typing this on at the moment is one that I always log into as root. But its also a box that contains no important data, and isn't trusted by any machines that do contain anything important. This box is just my testing environment, which I need to be root to use easily and I'm not overly worried about killing it. However on the boxes that do have important data the only things I run as root are the things I really need to. It's purely a choice on your part. If you feel the risks of running everything as root is worth things being that bit easier then go ahead and do it, however be prepared for that horrible feeling when you run something like
Code:
cd /
rm -rf . /myJunkDir
when you meant to run
Code:
cd /
rm -rf ./myJunkDir
Quote:
Originally posted by g452 tell me ... i poked around in my files and noticed that in inittab has a single user option ... can that work for me ?
Single user mode is used for system maintanence, it starts the system without lots of network services running. This isn't what you want in this situation.
Quote:
Originally posted by g452 one other thing - y does slackware keep on hiding my other partitions ? exmple hidden win95 fat32 (lba) or my swap partition unknown 92 ???? how can i correct this ?
This isn't something I've ever come accross. At what point are they hidden.
well after the first install and reboot they r hidden ... and it is not just slack i notice doing it also suse and mandrake does the same thing ... it hides all my partitions including the swap partition ... i can start linux all nice and use my partitions ... but programs that work with stuff on that partitions has a problem cause according to them they r not there ... and i don't know whot to do to correct the problem ...
so far after i start my pc i go and manually cfdisk a unhide all of my partitions ...
thanx for the advice ... this pc is my workstation and i do mind if i loose my data cause i do my work on this pc ... i'll go thru the little bit of effort now and then and do stuff as root when it needs be ... guess i am still a bit toooo used to M$ and the freedom of the whole file system ... hehehehhehe
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.