Page 1 of 2

Re: how remove the guest acount ? [SOLVED]

Posted: 07 Dec 2011, 16:29
by usernew
HI, i want remove the guest acount.

why? , is easy ... when i try use modules and this modules contins files on root directory , the module no work on guest acount.

only in root acount can use modules whit root directory files , for example , kde *rc files.

for me guest acount is not good..need all time boot whit text mode to use extra modules.

i want remove guest acount ...not good for me ...i try only root acount in system,.

--------------------------------------------------
y try delete guest acount on passw , group and users files ,,and of course ...home guest directory , but the system every time want guest acount. :evil:

for me , at the moment the only solution are in files passw , group and users ,configure the guest acount whit same configuration of root acount.

its possible remove totally the guest acount ??


ty for this maravellous work ...and sorry for my very very bad english.

regards.

Posted after 11 minutes 22 seconds:
sorry no say what version..im try on 1.1-rc2 version.

but think ,all versions have this guest acount ?

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 16:33
by Ahau
Moved to "Newbie Questions" as the "Development" section is for feature requests and discussion regarding upcoming releases.

usernew,

Have you tried booting with the 'toroot' cheatcode? this will log you right into KDE or LXDE as the root user, totally bypassing the guest account.

From there, you can remove the remaining traces of the guest account if you wish with the steps you described above.

If this doesn't result in the behavior you desire, just let us know :)

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 16:50
by usernew
ok , i think about try use toroot cheatcode on start-up menu options..and deleting guest acount parameters on the 3 files i say.

but guest acount are on system ..only skipped for cheat.

want totally remove , (is its possible).

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 17:00
by Ahau
you could try:

'userdel -r guest'

That removed /home/guest, as well as the guest entries from /etc/passwd and /etc/group.

'man userdel' for more info.

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 17:59
by usernew
ok i testing after.

but ..the guest folder are totally removed on all xzm modules ...and the files passw , group an users are modified..but when start a message say ... no guest acount on system..please try root acount...or similar message.

system every time want this acount..jejejej.


y try your new solutions after and say results.


thanks.

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 18:45
by fanthom
guest account has references spread on whole system (rc.M and even linuxrc) so will be tough to wipe it off completely.

if you dont want to use 'toroot' chetcode then i would modify (003)/etc/lxde/lxdm.conf and (004)/usr/share/config/kdm/kdmrc and change autologin from 'guest' to 'root' (that's what 'toroot' cheat does).

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 22:19
by usernew
very thanks phantom , y try your solutions.

userdel -r guest = not a solution

system ...at startup ...message box says ..

Authenticating guest
Aythentication failed

and ofer login box , to start root acount.

now i try phantom instructions.

sorry my english is bad.

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 23:08
by Ahau
If you want to log in as root, you must use the toroot cheatcode every time you login, or the system will revert back to trying to log in as guest. You can edit your bootloader config file to include 'toroot', so that you don't have to type it in manually each time.

Other than that, you will need to manually edit and remaster the modules, as fanthom suggested. This would involve, extracting each module with xzm2dir, manually editing all files, and compressing them back into custom modules with xzm2dir. In addition to the two files fanthom mentioned, you would also need to edit (001)/etc/rc.d/rc.M to remove the section that handles the 'toroot' cheatcode, because rc.M directs the system to change the autologin from root back to guest if the 'toroot' cheatcode is not present. It seems much simpler to use the toroot cheatcode as designed.

Re: how remove the guest acount ?

Posted: 07 Dec 2011, 23:37
by usernew
OK ,IM HAPPY.

i fix , no guest acount , no toroot cheat need ...no fail messages around guesta count.

guest acount is totallu out of system..or i think this.

modified files

1-kdmrc line autologin=guest -------->>> autoligon=root
2-rc.M all lines whit guest instructions are deleted ...ejample s/autologin=guest/Autologin=root changed for ...only root line s/autologin=root ...
3-group file -...delete the last line (guest acount)
4-shadow delete the last line (guest acount)
5-passw file..deleting las line (guest acount)


this changes fix guest acount for me. ..no more never more guest acount on system..or i think that,.

userdel -r guest ---->> say no guest acount on system
when start system whit telinit 4 ...user is root ...i try open other instance of system ..and only root option in menu ...

i think is fixed.


here xzm module ...for any one want remove guest acount.

very important , delete home/guest folder. and add this.

http://www.multiupload.com/

is the link violate your forum rules , sorry and delete.


thnx for all , very nice team here.

Re: how remove the guest acount ?

Posted: 08 Dec 2011, 12:22
by wread
@ usernew
You should now add [SOLVED] to your post!

Re: how remove the guest acount ?

Posted: 08 Dec 2011, 12:23
by brokenman
Thanks. When i saw this thread i new removing guest would be a big job. Fanthom went to great lengths to login guest by default after a vote. It's code is spread throughout many files. I would like to download your module but you linked to the front page of multiupload and not the file you uploaded. Please fix.

Re: how remove the guest acount ? (solved)

Posted: 09 Dec 2011, 10:43
by usernew

Re: how remove the guest acount ? [SOLVED]

Posted: 09 Dec 2011, 12:43
by brokenman
Thanks. Got it now.

Re: how remove the guest acount ? [SOLVED]

Posted: 10 Dec 2011, 21:07
by usernew
the module works for you ?

Re: how remove the guest acount ? [SOLVED]

Posted: 12 Dec 2011, 15:15
by brokenman
Havn't tested it as yet, just grabbed it for later ... i am a little busy finishing another project and i use guest account. Will test once i have completed the project. Thanks.