LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2002, 05:49 AM   #16
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600

First of all I don't know if I read it right, but logging in as root and the su'ing to a user account "isn't the way it works". You should login as a user, and only su to *root* when necessary.

Now I don't have a solution for you probs, but if you add the "debug" statement in pam.d/su you'll get more output in the logs; maybe that can help track down what's going on.
Usually PAM modules will support the debug options but I haven't checked the online PAM docs if every one of em does.
Adding <space>debug to the end of each line enables it. Log out and log in, and look in /var/log/messages.

Btw if "identd" is broken just stop loading it with ntsysv, linuxconf or change the "S" to a "K" in your current (/etc/rc.d/rc*.d) runlevel.
 
Old 08-07-2002, 11:28 AM   #17
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Original Poster
Rep: Reputation: 15
i myself follow that rule of su'ing only when necessary but it was not allowing normal users in.....
tried adding debug to end of lines but no new message was there in /var/log/message.......
will try your suggestion on identd.....but can any one tell me what it's used for??.....i suppose
it must be used by su in someway.......
Thanks
 
Old 08-07-2002, 12:56 PM   #18
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Rep: Reputation: 15
I use SU everyday to mount drives which I have yet to learn how to automatically mount my mp3 drive on startup :x
 
Old 08-07-2002, 02:43 PM   #19
A-dummy
Member
 
Registered: Jun 2002
Location: Kanpur,India
Distribution: RH-7.0 , 7.3
Posts: 130

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Rufus330Ci
I use SU everyday to mount drives which I have yet to learn how to automatically mount my mp3 drive on startup :x
man fstab

also see manpage of mount to know about various keywords
to use in fstab

Last edited by A-dummy; 08-07-2002 at 02:46 PM.
 
Old 08-08-2002, 11:01 AM   #20
Rufus330Ci
Member
 
Registered: Aug 2002
Location: PA
Distribution: Mandrake Linux v10.2, RHEL3u8, RHEL4u4 & RHEL5 Client Beta2 for desktop
Posts: 59

Rep: Reputation: 15
Thanks!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Giving root privileges to another user BlackJackal Mandriva 5 10-19-2005 01:03 PM
Giving a User Root Privileges lawrencegoodman Linux - Newbie 4 12-23-2003 04:41 PM
user permissions giving me annoyances hypermegachi Slackware 3 11-01-2003 02:48 PM
Giving a user rights Help!!! Sabeer Linux - Newbie 1 08-25-2003 12:02 AM
giving a user poweroff permission Goatdemon Slackware 7 07-19-2003 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration