You are not logged in.

#1 2007-08-15 18:51:33

clickit
Member
From: Athens, Hellas
Registered: 2007-07-18
Posts: 93

[SOLVED] trouble with su

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

#2 2007-08-15 19:52:30

skymt
Member
Registered: 2006-11-27
Posts: 443

Re: [SOLVED] trouble with su

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? tongue

Offline

Board footer

Powered by FluxBB