RE: adduser -M

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> --Luke
> --Computer Science Sysadmin, MSU Bozeman 
> --admin(AT)cs.montana.edu 994-3931 

> Back to the question at hand.  I am not sure I understand your answer.
> If I disable the smbpasswd using -d, does the user still have access to
> the shared folder they are authorized to use?  I could be wrong as I am
> new, but it looks to me that the -d will prevent them from accessing the
> shared folder on the server.

No,
They cannot access anything via samba.
Bad solution.
You can configure your samba server to use a PDC for emulation I think, to
grab the users from the PDC.
It's Friday so I'm not thinking straight about this.

> 
> Just for clarification: The server is expected to be a file server,
> possibly a printer server and it will have a minimum number of tools on
> it for me to do a few things I need to do when I am at the site.  The
> users don't need to have access to the server from the keyboard, but
> they do need to access the shared folders on it.
> 

> It will be replacing a Windows 2000 Pro computer that has nothing
> installed but the operating system, MSN Messenger, Internet Explorer and
> a printer. Two groups have access to the computer right now: The
> Processors and the Originators.  The originators who have computers have
> their "My Documents" folder on the server so their letters etc can be
> backed up.  The processors share two database programs on the server and
> also have their My Documents stored on the drive.  The originators do
> not have access to the database at this time, but in the near future,
> they will be required to enter their own accounts. When that happens,
> there will be more than ten users on the server so 2kPro will no longer
> handle the load.  I am hoping to learn enough about Linux before then
> not to have to buy a Micro$oft $erver product.
> 
> If I can get a Linux server to replace the current server service, I'll
> add other features as I learn them later.
> 
> Thanks
> 
> Buck
> 
> 
> -----Original Message-----
> From: psyche-list-admin@redhat.com [mailto:psyche-list-admin@redhat.com]
> On Behalf Of Lucas Albers
> Sent: Friday, January 24, 2003 1:39 PM
> To: psyche-list@redhat.com
> Subject: RE: adduser -M
> 
> Shouldn't you apply the same rules for acceptable network use to
> yourself
> that you apply to your users?
> If they can't look at porn; you can't look at porn.
> (Thanks to net-nanny.)
> You can turn off the home share by disabling it via
> smbpasswd -d
> -d     This option specifies that the username following should be
> disabled
> in the local smbpasswd file. This is done by writing a 'D' flag into
> the
> account control space in the smbpasswd file. Once this is  done
>       all attempts to authenticate via SMB using this username will
> fail.
> 
> 
> 
> > --Luke
> > --Computer Science Sysadmin, MSU Bozeman
> > --admin(AT)cs.montana.edu 994-3931
> 
> > -----Original Message-----
> > From: psyche-list-admin@redhat.com
> [mailto:psyche-list-admin@redhat.com]
> > On Behalf Of Buck
> > Sent: Thursday, January 23, 2003 10:57 PM
> > To: psyche-list@redhat.com
> > Subject: RE: adduser -M
> >
> > What I have is an office of two groups of users, Processors and
> > Originators.  The processors need to have a private share without the
> > originators having access.  The Originators need a sharing area for
> > themselves because they think they need to be on the server and no
> other
> > reason. They only get on to write letters, read email and surf the net
> > looking for the latest porn.  Won't they be surprised when I setup a
> > firewall that has NetNanny? :^o
> >
> > Of course, I want access for me from where ever I happen to be.
> >
> > So, How do I turn off the [home] share?
> >
> > Buck
> >
> >
> > -----Original Message-----
> > From: psyche-list-admin@redhat.com
> [mailto:psyche-list-admin@redhat.com]
> > On Behalf Of Stephen Carville
> > Sent: Friday, January 24, 2003 12:41 AM
> > To: psyche-list@redhat.com
> > Subject: Re: adduser -M
> >
> > On Thursday 23 January 2003 09:05 pm, Buck wrote:
> > > Is that the answer I am looking for in my message Samba and Server
> > > Access?  I need to create users that can't log into the computer at
> > the
> > > keyboard but share a folder with a group of users that share files.
> >
> > Could be.  All of my Samba users have a home directory but that is
> > because their home drectory is on the Samba server :-)   If you do
> > not want home directories on the system make sure you turn off the
> > [home] share.
> >
> > > Thank you,
> > >
> > > Buck
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: psyche-list-admin@redhat.com
> > [mailto:psyche-list-admin@redhat.com]
> > > On Behalf Of Stephen Carville
> > > Sent: Thursday, January 23, 2003 11:57 PM
> > > To: psyche-list@redhat.com
> > > Subject: Re: adduser -M
> > >
> > > On Thursday 23 January 2003 08:39 pm, Buck wrote:
> > > > The command: adduser -M creates a new user without creating his
> > home
> > > > directory.  What happens to a user that logs in and has no home
> > > > directory?
> > >
> > > They will get dropped in / if possible.  I use -M with -s
> > /bin/nologin
> > > or -s /bin/false to create accounts that cannot be logged onto.
> > >
> > > --
> > > Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
> > > Blessed are those who, in the face of death, think only of the front
> > > sight.
> > >
> > >
> > >
> > > --
> > > Psyche-list mailing list
> > > Psyche-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/psyche-list
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Psyche-list mailing list
> > > Psyche-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/psyche-list
> > >
> > >
> >
> > --
> > Stephen Carville http://www.heronforge.net/~stephen/gnupgkey.txt
> > Blessed are those who, in the face of death, think only of the front
> > sight.
> >
> >
> >
> > --
> > Psyche-list mailing list
> > Psyche-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/psyche-list
> >
> >
> >
> >
> >
> >
> > --
> > Psyche-list mailing list
> > Psyche-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/psyche-list
> 
> 
> 
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list
> 
> 
> 
> 
> 
> 
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux