This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / A user under Linux is banned to login while root can su to it? Anyone knows the reason? Error message is simple --"permission deny"
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973053@0)
-
是不是用户的根目录对于用户自己没有权限
-tztz(tztz);
2003-1-13
(#973089@0)
-
no, It used to be good.
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973101@0)
-
can Linux restrict the user to login only on the console or from a specialized ip address?
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973105@0)
-
is that user account has expired? can you go to /etc/passwd and /etc/shadow to check the account information?
-56789(越来越....);
2003-1-13
(#973483@0)
-
no
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973507@0)
-
xinetd can restrict the ip address for remote login.
-zero(zero);
2003-1-13
(#973498@0)
-
xinetd can restrict ip address for remote access. ssh, ftp, telnet, etc.
-zero(zero);
2003-1-13
(#973522@0)
-
what is xinetd? is it a config file? it doesn't like a command
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973533@0)
-
configs in /etc/xinetd.d
-junhua(Henry);
2003-1-13
(#973561@0)
-
sorry, no such directory or files found
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973622@0)
-
is the user be locked?
-junhua(Henry);
2003-1-13
(#973355@0)
-
no, I don't think sowhen I was root,
1. su - username1
username1> su - username2
that works.
This means the user (username2) isn't locked.
But when I typed the username2 in the
Login:
the system will give an error "permission Deny "
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
{233}
(#973516@0)
-
locked account also can be su. but can't login.
-junhua(Henry);
2003-1-13
(#973567@0)
-
'Permission Deny' 是在输入了用户名密码以后?
-junhua(Henry);
2003-1-13
(#973569@0)
-
把/etc/passwd /etc/shadow 关于那个用户的一行都贴出来看看。
-junhua(Henry);
2003-1-13
(#973593@0)
-
btw, there is no shawdom file in Linux, it's a file in UNIX
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973620@0)
-
a. of coz there is a shadow file in Linux
-junhua(Henry);
2003-1-13
(#973626@0)
-
found the problem!!!! something in the file "time.conf" block the user
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973619@0)
-
what is setting in time.conf . Does this file locate in /etc/security/ ? Just for restricting the services and tty for the user? why still keep using Redhat6?
-zero(zero);
2003-1-13
(#974065@0)
-
你用的什么版本的Linux?
-junhua(Henry);
2003-1-13
(#973627@0)
-
red hat 6.0
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973629@0)
-
啊,那是不会有xinetd,不过有inetd。:)
-junhua(Henry);
2003-1-13
(#973642@0)
-
inetd.conf
-oceandeep(北极熊® Zzz Zzz);
2003-1-13
(#973654@0)