You are not logged in.
Pages: 1
hi to all,
well i was trying to gain some speed for a partition via fstab by doing these changes :
this line /dev/sda2 / reiserfs defaults 0 1 to this /dev/sda2 / reiserfs noatime,notail,rw,user,exec,auto 0 1 (1)
and this /dev/sda4 /storage reiserfs defaults 0 1 to this /dev/sda4 /storage reiserfs noatime,notail,rw,user,exec,auto 0 1 (2)
both changes worked fine until i run su
it responds with "incorrect password" message (i didn't try to find if any other command had simlar problem)
i logged in as root changed fstab to initial state and, after reboot, su worked again
i found out the the error caused because of changing the first line(1) only
why given parameters causes the error ?
thanks for your time
dimitris
Last edited by clickit (2007-08-16 09:44:58)
Offline
The su command has the suid bit set, so you need to add the "suid" option to (at least) /dev/sda2. Like so:
/dev/sda2 / reiserfs noatime,notail,rw,user,exec,auto,suid 0 1
Also, I don't quite know why you need the user option. Are you expecting to mount and unmount / as a user?
Offline
Pages: 1