LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   User Permision? And Logoff? (https://www.linuxquestions.org/questions/linux-newbie-8/user-permision-and-logoff-301165/)

amer_58 03-13-2005 02:16 PM

User Permision? And Logoff?
 
I was using the root account foool I was, I have created now a new user account, but it seems that i cant access my windows folder and my root folder, what do I need to fix that?

Do I have to change the new account type to be as root level? or I need to change my file permissions?


sth else that really annoyed me, when I logoff and I want to login using different account how can i do that without restarting.

Thanks.

Tinkster 03-13-2005 02:29 PM

Quote:

Do I have to change the new account type to be as root level?
Definitely NOT. You may consider to copy/move stuff
from /root to /home/<newuser> and chown it ...

Quote:

or I need to change my file permissions?
Not quite - all that's required is a change to /etc/fstab

The question is being asked and answered all the time,
please use the search, search for "fstab user windows mount"



Cheers,
Tink

nonzero 03-13-2005 02:46 PM

You are not a fool you just have to understand that being 'root' can have unintended consequences. The paradigm under which we operate on Linux is that we elevate our privileges in order to perform certain tasks and only login as root when absolutely necessary. Being multiuser (and thus multi-able to goof up other users or processes on our systems) from inception is what sets *nix-like* operating systems apart from certain other commercial operating systems (and I am not talking about Windows alone). As such, with privilege comes responsibility.
Okay, useless diatribe aside. Once you had Slackware installed, you only had a root account, at that point you should have immediately added another user for yourself. If this was done you should have been able to logout of root, login as your 'normal' user, then elevate your system privileges using,

$>su root
$password>(root's password)
#>(now you are king for a day)

su is a default shell command to give you root privileges but there are other tools that depending on your situation, offer more functionality. sudo and super are two of those. These all operate from the command line and will require other setup in order to give you root permissions under GNOME, KDE, etc., kdesu operates from the desktop environment.
I do not understand what you said about restarting when logging in or out. More explanation please.

nz

amer_58 03-14-2005 06:49 AM

I have opend the flie /etc/fstab and I changed ro into defaults for windows, since I cant open it through my new user account..... but still wont work

Code:

/dev/hda5        swap            swap        defaults        0  0
/dev/hda2        /                ext3        defaults        1  1
/dev/hda6        /usr            ext3        defaults        1  2
/dev/hda7        /opt            ext3        defaults        1  2
/dev/hda8        /home            ext3        defaults        1  2
/dev/hda1        /windows        ntfs        defaults        1  0
/dev/cdrom      /mnt/cdrom      iso9660    noauto,owner,ro  0  0
/dev/fd0        /mnt/floppy      auto        noauto,owner    0  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0


Tinkster 03-14-2005 11:35 AM

Let me take you by the hand ...

You click search and enter the
words "fstab user windows mount" in the field named
"Search for items including these words:" ... Then you
click on the "Perform Search" button... I've done the
query for you, just the follow the link in this post.



Cheers,
Tink


All times are GMT -5. The time now is 10:04 AM.