problem with root login in mandriva

Discussion in 'Open Source' started by sarincv, Nov 21, 2006.

Thread Status:
Not open for further replies.
  1. sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    I am using Mandriva 2007.................I cannot login as root...........when i tried to login an error message is displayed as " Root login not allowed ".........I can login as standard user.......please help me..........
     
  2. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    May I know why do you want login as root ?

    You can use su or sudo whenever necessary.
     
  3. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    Being a standard user,I couldnot delete files in Windows partition.....Also I have to configure permissions for accessing files........
     
  4. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @Sarincv, Don't login as root. That's a very bad practise!! It's also very dangerous.
    Just login as a normal user in Mandriva Linux. Open the Terminal Window & type:

    $ su -
    (Enter root password)

    Now you are logged in as root.

    # cd <directory path>

    To delete a file use the 'rm' command

    # cd /mnt/win_d
    # rm filename

    Once your job is done logout as root,

    # exit

    WARNING : Use 'root' login with a lot of caution!! Deleting a System file used by the O.S can wreck havoc!!
     
  5. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
    @sarin : You don't have to mount windows partition again n again from root! Just give appropriate permissions in /etc/fstab and delete the files at will !

    Post ur /etc/fstab output here!
     
  6. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    1) Open Mandriva Control Centre
    2) Navigate to Mount Points
    3) Go to create, delete and resize partitions
    4) Click on 'toggle to expert mode' at the bottom
    5) Select your windows partition
    6) Click on Options on the left hand side
    7) Check the two entries - user and umask=0
    8) Click on OK and done
    9) It will pop up the dialog box to save changes to /etc/fstab. Say yes.
     
  7. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    Okey,but i have to login as root..........because i can't copy files to windows partition..........
     
  8. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    This will allow you to write to windows partition as normal user. Why else did I give it?
     
  9. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    okey,the problem is not solved yet.......i am now able to write files,but cannot delete some files....i am not able to set permissions by right clicking and changing permission properties........while doing so it shows"Access denied".......
     
  10. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Who's the owner of those files? Root?
     
  11. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @Sarincv, Open Mandriva Control Center. Here set the Security as Standard.
    This should give you read/write access to the Windows partitions. I think you have set the
    Security as either "Higher' or "paranoid", change it to 'Standard'. This will solve your problem!!
     
  12. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    Can u just tell me why the login is disabled and how to enable it?
     
  13. demoninside

    demoninside New Member

    Joined:
    May 20, 2004
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    dehradun
    yes Root login is disable in default system,
    for this you gotta enable this by
    system control>login

    in this you'll find one check box which says allow root to login,
    then only u'll be able to login
     
  14. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    how to do this.......where is it..
     
  15. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    You use KDE or GNOME?
     
  16. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
  17. desertwind

    desertwind New Member

    Joined:
    Nov 2, 2004
    Messages:
    1,096
    Likes Received:
    10
    Trophy Points:
    0
    Location:
    Hyderabad
    root login is disabled for security reasons. There's a common tendancy with people to act stupid.

    Well do the following for complete control for your username on windows partitions.

    $su
    <provide root password>

    # find /path/to/win/partition -exec chown yourusername '{}' \;

    This will set you as the file owner for all files and folders in windows partition, and you'll be able to write and delete files.
     
  18. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Did you mess with any configuration. I can login as root without a problem and I didn't change anything. First follow what desertwind has said, if that doesn't help we'll see what is to be done then.
     
  19. OP
    OP
    sarincv

    sarincv Member

    Joined:
    Nov 14, 2003
    Messages:
    243
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Kerala
    I think during installation, I set securuty as high........How can i change this without reinstalling? Also xmms player is not there in mandriva but it is there in suse 10.1 dvd.....can i install xmms from suse cd? Will the dependencies be satisfied?
     
  20. mehulved

    mehulved 18 Till I Die............

    Joined:
    Jul 15, 2004
    Messages:
    5,790
    Likes Received:
    44
    Trophy Points:
    0
    Location:
    India, Mumbai, Marine Lines
    Yes XMMS player is there on the DVD and it can be installed along with dependancies from the DVD.
    For security settings, go to System => Configuration => Configure your computer => Security => click on 'set the system security level and the periodic security audit' => set the security level in 'Basic Security' tab.
    __________
    In the security tab then go to 'Fine tune the security permissions of the system' => click on 'Add a rule' => Select the windows partition eg. in my case it is /media/fat so in path I have given /media/fat/* to mark it for all files. In user give your username. In User tab below check read write and execute options.
     
    Last edited: Nov 25, 2006
Thread Status:
Not open for further replies.

Share This Page