On Fri, 2009-09-25 at 10:38 +1200, Roger Searle wrote:
> Hi, I have a kubuntu 8.04 LTS machine acting as a file server (samba) 
> for our network with various users / permissions set up.  Given that 
> from time to time I use the machine for the odd desktop-related task or 
> to do things I've not learnt to do via ssh, it has a (normally switched 
> off) monitor, keyboard and mouse attached.  Users are listed in the 
> login window, despite turning off the Users "show list" option and only 
> having my own username selected under "selected users" in "Login 
> Manager" (this seems to be somewhat broken).  Anyway, as I understand 
> it, this is just a convenience thing and a user could still manually 
> enter their username and password in the login window.
> 
> I am interested in preventing specific users from logging in locally to 
> a desktop but retaining their account for the purposes of serving up 
> files on the network.  Can anyone point me in the right direction for 
> this?  I'm not having any luck googling.  This doesn't need to be 
> particularly clever, secure or a highly locked down configuration, just 
> a barrier to casual gui login attempts.
> 
> Cheers,
> Roger
Try manipulating their shells ( worst case using sudo vipw ). You should
be able to set them to /bin/false ( make use that's in /etc/shells ),
and they will still be able to access shares.

hth,

Steve

-- 
Steve Holdoway <[email protected]>
http://www.greengecko.co.nz
MSN: [email protected]
GPG Fingerprint = B337 828D 03E1 4F11 CB90  853C C8AB AF04 EF68 52E0

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to