DIGIT-ARC read-only archive · snapshot: July 23, 2026

problem with root login in mandriva

21 posts · originally from https://geek.digit.in/community/threads/problem-with-root-login-in-mandriva.41793/

S
sarincv Original post #1
Nov 21, 2006 at 9:26 AM
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..........
desertwind
Nov 21, 2006 at 10:26 AM
May I know why do you want login as root ?

You can use su or sudo whenever necessary.
S
sarincv #3
Nov 21, 2006 at 11:19 AM
Being a standard user,I couldnot delete files in Windows partition.....Also I have to configure permissions for accessing files........
JGuru
JGuru #4
Nov 21, 2006 at 12:09 PM
@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!!
mediator
Nov 21, 2006 at 12:37 PM
@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!
M
Nov 21, 2006 at 1:06 PM
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.
S
sarincv #7
Nov 21, 2006 at 1:17 PM
Okey,but i have to login as root..........because i can't copy files to windows partition..........
M
Nov 21, 2006 at 1:21 PM
This will allow you to write to windows partition as normal user. Why else did I give it?
S
sarincv #9
Nov 21, 2006 at 6:02 PM
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".......
M
mehulved #10
Nov 21, 2006 at 7:43 PM
Who's the owner of those files? Root?
JGuru
JGuru #11
Nov 21, 2006 at 9:21 PM
@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!!
S
sarincv #12
Nov 23, 2006 at 8:42 AM
Can u just tell me why the login is disabled and how to enable it?
D
Nov 23, 2006 at 1:57 PM
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
S
sarincv #14
Nov 23, 2006 at 2:03 PM
how to do this.......where is it..
M
mehulved #15
Nov 23, 2006 at 9:30 PM
You use KDE or GNOME?
S
sarincv #16
Nov 24, 2006 at 12:25 PM
KDE
desertwind
Nov 24, 2006 at 1:21 PM
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.
M
mehulved #18
Nov 24, 2006 at 6:56 PM
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.
S
sarincv #19
Nov 25, 2006 at 8:31 AM
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?
M
mehulved #20
Nov 25, 2006 at 10:26 AM
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.
S
sarincv #21
Nov 29, 2006 at 8:17 AM
hello guys...r u listening?