LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2005, 06:43 AM   #1
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
SSH su problems please help


Hi everyone

MY SSH config is like this


a generic user whitch can login from anywhere (unprevileged)
root can login only from specific ip addres inside of the network

: the problem

When I connect with the unprevileged user and
#su
****

I Can't use command like

adduser

whitch are working whene I login with root whithowt su command

Thanx if someone can help please do !



 
Old 02-06-2005, 07:18 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I'm not sure about RedHat but most distributions require users to be in the 'wheel' group in order to have su privelages. Check /etc/group to see if you have a wheel group. If so, make sure your unprivelaged user is in the group.

<EDIT>I just read your post again. Looks like you can su but don't have adduser in your path. Try doing 'su -' instead of just 'su'. This will give you all of roots paths as well.</EDIT>

Last edited by Crashed_Again; 02-06-2005 at 07:20 AM.
 
Old 02-06-2005, 11:28 AM   #3
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Original Poster
Rep: Reputation: 15
You are an angel

Thanx
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with SSH paul.nel Linux - Networking 17 08-09-2011 01:40 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
SSH problems newbie21209 General 4 06-16-2005 11:00 AM
problems with SSH hostprotect Linux - Software 2 01-11-2005 06:15 PM
ssh problems Lanmate Linux - Software 2 01-23-2004 02:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 PM.

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