Page 1 of 1

passwd and crontab

PostPosted: Mon Mar 25, 2002 4:46 am
by maras
I've a question about changing passwd and acces to crontab

What must I unmark in grsecurity to give permissions user to change passwd and give acces to crontab


maras@sexy:~$ passwd
Changing password for maras
Old password:
Incorrect password for `maras'
The password for maras is unchanged.
maras@sexy:~$

I'm typing right passwd

How can I fix it
Help me ! :))

hrmm

PostPosted: Mon Mar 25, 2002 8:54 am
by spender
if you don't see any grsecurity logs in your system logs, it's not related to grsecurity. to make sure the password is what you think, change it as root to what you think the password is, and then try changing it as your user. Also make sure passwd is setuid root.

-Brad

PostPosted: Tue Mar 26, 2002 4:46 am
by maras
Sorry I have linux for 2 weeks:)

how to set passwd setuid root

p.
MaRaS @ IRCNet

k

PostPosted: Tue Mar 26, 2002 8:36 am
by spender
as root:

chown root /usr/bin/passwd
chmod u+s /usr/bin/passwd