> any other ideas on login or su?

As 'root', do:
chmod +4111 /path/to/su

If 'su' isn't run suid, then most likely /etc/shadow isn't
being read because 'su' is running as your non-root user.
--
~Lynn Avants
Linux Embedded Appliance Firewall Developer

-----------------

ok, i tried chmod, still get the password incorrect reply from su.

the output of "ls -l" of su didn't change after chmod.  it is and was:

ls -l

-rwxr-xr-x     1    root    root     9504    May 17 18:24

this is what I see when logged in as the user (not root).  if i read it
correctly
(without consulting my book), i think it should be executable by anybody,
and is.

is there something that needs to be done to /etc/shadow?  i really don't
know this
stuff, just grasping.

i noticed that with "ls -l" /etc/shadow looks like:

-rw-------   1   root   shadow     774  May 17  18:27

so i tried "chmod +x" but still got the same password error.  then i
thaught, it doesn't need world exec
it needs world read.
so i did "chmod +r" on shadow, and now "ls -l"  gives:

-rwxr-xr-x   1   root   shadow   744    May 17   18:27

then, i logged out and back in as the user, and when i tried "su"  and
entered the password, it said:

su: cannot set groups:  Operation not permitted

so, it looks like the password incorrect issue was that /etc/shadows was not
readable by su when run in the
users shell  (is this a correct interpetation?)

now, it appears the password is read and validates with su, but i get this
new error.

any ideas?

thanks - ted



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to