Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 21-11-2006, 09:26 AM   #1 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default problem with root login in mandriva


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..........
sarincv is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-11-2006, 10:26 AM   #2 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default Re: problem with root login in mandriva

May I know why do you want login as root ?

You can use su or sudo whenever necessary.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 21-11-2006, 11:19 AM   #3 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

Being a standard user,I couldnot delete files in Windows partition.....Also I have to configure permissions for accessing files........
sarincv is offline  
Old 21-11-2006, 12:09 PM   #4 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: problem with root login in mandriva

@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!!
__________________
* Imagination is more important than knowledge.
-Albert Einstein
JGuru is offline  
Old 21-11-2006, 12:37 PM   #5 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: problem with root login in mandriva

@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!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 21-11-2006, 01:06 PM   #6 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: problem with root login in mandriva

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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 21-11-2006, 01:17 PM   #7 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

Okey,but i have to login as root..........because i can't copy files to windows partition..........
sarincv is offline  
Old 21-11-2006, 01:21 PM   #8 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: problem with root login in mandriva

This will allow you to write to windows partition as normal user. Why else did I give it?
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 21-11-2006, 06:02 PM   #9 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

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".......
sarincv is offline  
Old 21-11-2006, 07:43 PM   #10 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: problem with root login in mandriva

Who's the owner of those files? Root?
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 21-11-2006, 09:21 PM   #11 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: problem with root login in mandriva

@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!!
__________________
* Imagination is more important than knowledge.
-Albert Einstein
JGuru is offline  
Old 23-11-2006, 08:42 AM   #12 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

Can u just tell me why the login is disabled and how to enable it?
sarincv is offline  
Old 23-11-2006, 01:57 PM   #13 (permalink)
In The Zone
 
Join Date: May 2004
Location: dehradun
Posts: 389
Default Re: problem with root login in mandriva

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
__________________
Music is like Sex, The more you get, the more you want.
demoninside is offline  
Old 23-11-2006, 02:03 PM   #14 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

how to do this.......where is it..
sarincv is offline  
Old 23-11-2006, 09:30 PM   #15 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: problem with root login in mandriva

You use KDE or GNOME?
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 24-11-2006, 12:25 PM   #16 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

KDE
sarincv is offline  
Old 24-11-2006, 01:21 PM   #17 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default Re: problem with root login in mandriva

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.
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 24-11-2006, 06:56 PM   #18 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: problem with root login in mandriva

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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 25-11-2006, 08:31 AM   #19 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

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?
sarincv is offline  
Old 25-11-2006, 10:26 AM   #20 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: problem with root login in mandriva

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.
__________________
http://www.bash.org/?258908

Last edited by mehulved; 25-11-2006 at 10:26 AM. Reason: Automerged Doublepost
mehulved is offline  
Old 29-11-2006, 08:17 AM   #21 (permalink)
In The Zone
 
Join Date: Nov 2003
Location: Kerala
Posts: 236
Default Re: problem with root login in mandriva

hello guys...r u listening?
sarincv is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by icebags
- by Sujeet

Advertisement




All times are GMT +5.5. The time now is 10:32 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2