[CentOS] Forget SMB password immediately

Les Mikesell lesmikesell at gmail.com
Mon Nov 28 13:56:50 UTC 2011


On Mon, Nov 28, 2011 at 7:40 AM, Guitart Francesc
<francesc.guitart at enise.fr> wrote:
>
>> 1. Why use shared account?
>
> Good question. This is a server that was already running when I started
> working here. I don't know the software that has installed and prefer
> not to touch a lot. That's the only reason I have for to continue using
> one local user account shared by several people.
>
>> 2. If you are using the same account, how can you prevent user from
>> accessing each other's folder?
>> /data/userA
>> /data/userB
>> The above ownership and permission won't do any good.
>
> I use the same local account to log into the machine. It is when I try
> to connect to the NAS that I use different user accounts. After I log
> out and continue to be able to access the resources of all users who
> have connected to the NAS above.
>
> In contrast, with Debian, I get connected to NAS asking me the password,
> after I get disconnect and when I try to reconnect I have to tape the
> password again.

So what happened when all the users log in at once to the shared
account?  I'd expect the mounted NAS to be available to everyone
regardless of who mounted it first.   And if that's the case, why does
it matter if that continues to be true after someone logs out?

-- 
  Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list