Showing posts with label zenwalk. Show all posts
Showing posts with label zenwalk. Show all posts

Monday, March 30, 2009

how to fix sudo command in zenwalk 6

What you wait from sudo command is that it gives you the power of root for a single command. But you'll notice that it does not work properly in Zenwalk 6. To fix it;

check your group by opening your start menu > system > control panel > user profiles > list users > your_username > hit ok > note groupname value

open Terminal

type

su

and login (then you become root)

type

mousepad /etc/sudoers



edit the line after

# Uncomment to allow people in group wheel to run all commands

comment as

%your_groupname_value ALL=(ALL) ALL
and save. Voila.

Friday, March 27, 2009

remove last login information from zenwalk start-up

I have a new toy called Zenwalk and I'm using auto-login as usual for buying some time. But there's something bothering me with my new toy; in every boot, it shows me my last login's time and date and there's no way to get rid of this thing through zenwalk's settings. For removing this annoyance, you have to follow these steps:

  1. open Terminal
  2. type
    su
    and login

  3. type
    mousepad /etc/pam.d/system-auth 
    and add
    #
    to the beginning of
    session    optional   pam_lastlog.so
    line.
  4. save and quit mousepad