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

sudo questions


For some unknown reason I did not activate the root account during the
installation. I activated it from a user account, say John Doe.

Now John Doe can become root anytime and do anything on my machine.

How can I deactivate this? I have seen that John Doe is a member of
almost all groups in /etc/group and /etc/gshadow...

Is there a simple method to remove John Doe from these files and are
there other files to modify?

I asked a question about this  inconvenience of the sudo way to activate
root account: lightdm accepts to login root for a graphical session, I
found a method to forbid this: add this line in /etc/pam.d/ligthdm:

auth required pam_succeed_if.so user != root quiet

I don't understand this "fashion": sudo and no root account.... It is
the same under ubuntu. What for?


François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849

Reply to: