On Tue, Oct 29, 2002 at 09:31:00PM -0800, Bob Miller wrote: > To access wvdial, add your mom's username to the dialout group. > Edit /etc/group and change the line that says > > dialout:x:20: > to > dialout:x:20:mom > > I don't know about poweroff/halt. If you run kdm, there's a button on > the login screen to shut down.
Half of this has already been addressed by another reply, however: # adduser mom dialout # adduser mom dip # addgroup poweroff # adduser mom poweroff # chown root:poweroff /sbin/halt # chmod 4754 /sbin/halt # dpkg-statoverride --add root poweroff 4754 /sbin/halt The first two command adds mom to the dialout and dip groups, which are needed for wvdial. dip is probably not needed anymore, but it still exists, was needed at some point or another, and I'm not going to assume that all traces of dependency on it are gone just because they should be. The third and fourth commands create a group for powering down the machine and adds mom to it. The last three lines make it so anyone in the poweroff group is able to run /sbin/halt (poweroff is a symlink to this) as if they were root. It's important to do the last line because otherwise the next time dpkg gets upgraded, mom will be unable to run poweroff without root. I suggest you actually also put a symlink to poweroff in /usr/bin so that mom can run it without typing the full path or adding /sbin to her path. -- Joseph Carter <[EMAIL PROTECTED]> Hey, that's MY freak show! <Marticus> There's too much blood in my caffeine system.
msg11588/pgp00000.pgp
Description: PGP signature
