passwd and crontab

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

passwd and crontab

Postby maras » Mon Mar 25, 2002 4:46 am

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 ! :))
maras
 
Posts: 2
Joined: Mon Mar 25, 2002 4:32 am

hrmm

Postby spender » Mon Mar 25, 2002 8:54 am

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
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm

Postby maras » Tue Mar 26, 2002 4:46 am

Sorry I have linux for 2 weeks:)

how to set passwd setuid root

p.
MaRaS @ IRCNet
maras
 
Posts: 2
Joined: Mon Mar 25, 2002 4:32 am

k

Postby spender » Tue Mar 26, 2002 8:36 am

as root:

chown root /usr/bin/passwd
chmod u+s /usr/bin/passwd
spender
 
Posts: 2185
Joined: Wed Feb 20, 2002 8:00 pm


Return to grsecurity support

cron