Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su and ssh problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Noldar
Guest





PostPosted: Tue May 28, 2002 6:30 pm    Post subject: su and ssh problems Reply with quote

Hello,

Actually, this is two problems.

First, I cannot su root. "su" is suid. I even put the user into the "root" group, though, maybe it serves as "wheel" under freebsd

Second, I cannot login as root via ssh. permit root login is set to yes in sshd.conf and I added pts/0 - pts/3 to /etc/securetty.

What am I doing wrong (or where is it documented) ?
Back to top
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Tue May 28, 2002 7:04 pm    Post subject: Reply with quote

Have you got the user trying to su in the wheel group? If not then that is what you need to do. Read here for more info http://www.gentoo.org/doc/en/gentoo-security.xml#doc_chap2
_________________
Postcount ++
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed May 29, 2002 9:58 pm    Post subject: Reply with quote

1. Yes the user you want to "su" from must be in the "wheel" group.

2. I definitely wouldn't recommend allowing remote root logins. That said: Did you restart ssh after editing the .conf file?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum