disable login and enable su for an account

2007-12-24 21:48:00

Hello,

I am trying to disable login for a user (eg. X)
"into the machine" only. But once you logged in as someone as (eg. Y) I want
them to be able to do "su" (su - X) to the user and be able to use that
account.

I tried using noshell and /bin/false, but then "su - " doesnt work.

Many thanks in advance,

Joe Lyons

P.S> I searched the entire codeprof archive and found the same question
asked but nobody posted the replies back !!

Comments

Got something to say?

You must be logged in to post a comment.