Why when i log into a Samba server wit a valid user name and passwor that has not root privileges he is anounced as root and all files modifyed by him are set as root owner? When he log in this message apear at log reg: [2003/02/09 08:18:44, 3] smbd/password.c:register_vuid(328) uid 527 registered to name rcorrea [2003/02/09 08:18:44, 3] smbd/password.c:register_vuid(330) Clearing default real name [2003/02/09 08:18:44, 3] smbd/password.c:register_vuid(332) User name: rcorrea Real name: Roberto Correa [2003/02/09 08:18:44, 3] smbd/process.c:chain_reply(1005) Chained message [2003/02/09 08:18:44, 3] smbd/process.c:switch_message(667) switch message SMBtconX (pid 4667) [2003/02/09 08:18:44, 3] smbd/sec_ctx.c:set_sec_ctx(314) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/09 08:18:44, 3] smbd/password.c:authorise_login(745) authorise_login: ACCEPTED: validated uid ok as non-guest (user=rcorrea) [2003/02/09 08:18:44, 0] smbd/service.c:make_connection(381) rcorrea logged in as admin user (root privileges)
On Sun, Feb 09, 2003 at 10:27:16AM +0100, Jorge Videgain Marquez wrote:> Why when i log into a Samba server wit a valid user name and passwor that has > not root privileges he is anounced as root and all files modifyed by him are > set as root owner? > > When he log in this message apear at log reg:<snip>> [2003/02/09 08:18:44, 0] smbd/service.c:make_connection(381) > rcorrea logged in as admin user (root privileges)This message says that user rcorrea is an "admin user", so you either have the "admin users" or the "admin group" set in smb.conf. All actions performed by an admin user are done as root. -- Michael Heironimus
Jorge Videgain Marquez
2003-Feb-10 07:18 UTC
[Samba] Samba user becomes root user (problem solved)
Admin User command was writen at smb.conf file but i delete it some days ago. The problem was that i need to stop and start smbd and nmbd services to force to set that changes, even when another changes at smb.conf file were made and were set correctly without restating the servcices. Reagards guanche El Dom 09 Feb 2003 20:30, Michael Heironimus escribi?:> On Sun, Feb 09, 2003 at 10:27:16AM +0100, Jorge Videgain Marquez wrote: > > Why when i log into a Samba server wit a valid user name and passwor that > > has not root privileges he is anounced as root and all files modifyed by > > him are set as root owner? > > > > When he log in this message apear at log reg: > > <snip> > > > [2003/02/09 08:18:44, 0] smbd/service.c:make_connection(381) > > rcorrea logged in as admin user (root privileges) > > This message says that user rcorrea is an "admin user", so you either > have the "admin users" or the "admin group" set in smb.conf. All actions > performed by an admin user are done as root.