On Wednesday 03 October 2007 12:17, Douglas A. Tutty wrote: > On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote: > > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed > > out of it after ~3 min's.) now I can't become root. Some examples: > > > > [EMAIL PROTECTED]:/bin$ sudo /usr/src/modules/alsa-driver/snddevices > > sudo: /etc/sudoers is mode 0777, should be 0440 > > [EMAIL PROTECTED]:/bin$ su > > Password: > > setgid: Operation not permitted > > [EMAIL PROTECTED]:/bin$ > > > > > > When I try to log in as root on a pseudo terminal, I get: > > > > setgid: operation not permitted > > > > I can log in as myself. > > > > Also, is there other damage that i might have done with the 'chmod'? > > You'd have to know what files got altered. For example, you say you > chmoded /dev. Then how did /etc/sudoers get changed? > > Can you boot single-user mode and login as root? > > Do you have good backups of your data? > > Doug.
there is a change in the behavior when i try to log in as root. instead of: setgid: Operation not permitted after inputting the password, i get: login incorrect right after inputting 'root'. sudo works now. i think it was because i changed the perm's on sudoers thanks, tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]