thanks I got the problem solved by another path : mount the device to none-root user, so I need no su to root when I locate to my /mnt/media
the vfat file system go well by add this in the /etc/fstab /dev/hda7 /mnt/media vfat umask=0,uid=1003,gid=1003,defaults,iocharset=cp936 0 0 BUT when I come to xfs filesystem. I doesn't work can any one give so advice on xfs , How to make some change in /etc/fstab so noneroot user can read and write in /dev/hda8 Thank you. On Sun, Oct 03, 2004 at 03:06:00PM +0200, Wim De Smet wrote: > Hi, > On Sun, 3 Oct 2004 21:02:19 +0200, bing yu <[EMAIL PROTECTED]> wrote: > > I can not get message from fvwm list, Please forgive me posting here. > > > > in my .fvwmrc > > > > Key r A M Exec exec crxvt-gb > > > > so Alt+r can open a crxvt terminal > > > > After I open crxvt, I usually do this : > > $su > > password:****(enter my pwd) > > # cd /mnt/media/ > > > > my question is straitforward(let alone the security problem), Can I write above in > > the .fvwmrc ? so after I Alt+r, the crxvt can go to [EMAIL PROTECTED] > > > > I read the man page > > Key r A M Exec exec crxvt-gb -e su;pwd > > still , It ask me to imput my password > > > > Any one can help me? Thank you. > > I'm not sure but I don't think you can supply your password on the > command line to su. But I would advise you to have a look at 'sudo'. > It takes a little more effort but with this you can configure your > system to give you the necessary permissions without too much hassle. > Read the manpage and if that doesn't help (I seem to recall it's all a > bit complicated) just google around a bit I'm sure you'll find some > good tutorials. > > greets, > Wim > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Tuesday is the Wednesday of the rest of your life. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]