You are not logged in.

#1 2008-10-30 23:14:49

sa
Member
From: boston ma
Registered: 2008-05-23
Posts: 127
Website

(solvéd) fixing permissions, can't use su/sudo

i made a mistake while partitioning my drive for the first time and accidentally gave my / partition 8GB of space. it got full, so I copied everything well with cp -a (and partimage to double check), reformatted, and moved everything back. i am certain i messed up something by accident here, but i chown'ed the permissions of everything to "sa:users" (normal acct). everything works fine except when logged in as a normal user, I can't use su or sudo. i can log in as root though.

when i run su, i get: "su: cannot set groups: operation not permitted"

i have googled this endlessly but nothing I see works. I can't start up X or anything as a normal user. root account does everything fine and normally, but I can't figure out for the life of me what to do to get su working.

Last edited by sa (2008-10-30 23:46:59)

Offline

#2 2008-10-30 23:28:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: (solvéd) fixing permissions, can't use su/sudo

What are the permissions on su?  For your reference:

> ls -l /bin/su
-r-sr-xr-x 1 root root 32152 2008-06-16 16:25 /bin/su

Offline

#3 2008-10-30 23:46:46

sa
Member
From: boston ma
Registered: 2008-05-23
Posts: 127
Website

Re: (solvéd) fixing permissions, can't use su/sudo

I can't believe that was nowhere else to be found. It was the -r-sr-xr-x that was the problem. THANK YOU SO MUCH!

Offline

Board footer

Powered by FluxBB