|
From: <and...@fr...> - 2006-08-31 07:56:38
|
Perhaps I found the explanation.....
If I change the shell via webmin, I have to reboot the box to get the
changes active... (?)
Stopping and restarting SSH server has not effect
So I changed the shell from /bin/bash to something not existing, but I
still was using /bin/bash
If I reboot, then I get:
if /bin/bash ----> login ok
if /bin/false -----> close putty window
if /shellnotexists --> access denied, wrong username or password
everytime I change a shell of every user I have to reboot the
box.........................
SO documentation is OK, but actually it seems to me really strange having
to reboot........
thanks,
ANdrea
"Jamie Cameron"
<jcameron@webmin.
com> To
Sent by: Webmin users list
webadmin-list-bou <web...@li...
nc...@li... t>
forge.net cc
Subject
30/08/2006 18.08 Re: [webmin-l] error in
documentation ???
Please respond to
Webmin users list
<webadmin-list@li
sts.sourceforge.n
et>
On 30/Aug/2006 05:31 and...@fr... wrote ..
> Hi all,
> I think that could exists an error in documentation.
>
> I am trying to create users which can only use mail.
>
> So I put /bin/false in their shell, and it is OK.
>
> But this is the end of the story; according to the webmin documentation
> :
>
> ...
> When a user logs in via telnet or at the console, or opens an xterm
window
> in X the users shell program will be run to interpret commands entered.
> If
> a user does not have a valid shell program or has one that does nothing
> (like /bin/false), then that user will not be able to login. This can be
> useful when creating users who can only read and send email.
> ...
>
> If you leave the shell field empty, or put a non existing program (like
> /shellnotexists as shell field) you CAN login via putty (ssh)
> (of course you had to permit login by password) and issue any kind of
> commands (ls, cd ......)
>
> If you correctly put /bin/false in the shell field, you login via putty
> (ssh) and the window is closed immediatly (correct)
>
> I am running Suse 10.1 with latest kernel and patch
>
> I think that could be fine to update the help field
So if the shell field is empty, when shell does a user get after logging
in?
I am very surprised that this works, unless the SSH server on some systems
is automatically falling back to the /bin/sh shell if no valid shell is set
in /etc/passwd.
- Jamie
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-
Forwarded by the Webmin mailing list at web...@li...
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
|