Find the answer to your Linux question:
Results 1 to 3 of 3
Hi there, Im not entirely sure of how to ask this. But when you first install debian the first user created is a "special" user, all system mail (from cron ...
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    1

    debian first user created

    Hi there,
    Im not entirely sure of how to ask this. But when you first install debian the first user created is a "special" user, all system mail (from cron and mysql, etc) is sent to this user and prolly a few other bits and pieces.
    I deleted the first user i created ages ago, and was wondering if i can have my current user have the same privelidges, i think he could invoke wvdial as well without su'ing to root, ??? is there a debian script that performs this on a user ?

    sorry for the lack of a decisive question

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    If understand correctly you want to dial up without the root password, suppose this is for a user called bob, go to /etc and there is a file there called sudoers add the following:

    bob ALL = NOPASSWD:/sbin/wvdial

    and after you can run the command by sudo wvdial.


    another possible solution is to change the group owner of that command.

    chown root:users wvdial ,where users is a common group that you have to yourself to it (by default this is done unless you made it manually )
    you can check by, groups bob

    Hope this help
    Linux is not only an operating system, it's a philosophy.
    Archost.

  3. #3
    Linux User IsaacKuo's Avatar
    Join Date
    Feb 2005
    Location
    Baton Rouge, LA, USA
    Posts
    292
    By default Debian doesn't do anything at all with the first user in the sudo'ers file. The only user referenced in sudo'ers out-of-box is root.

    I'd guess that anything to do with wvdial has to do with groups. The wvdial executable probably has permissions something like 750 (owner has full access, group has read/execute access, others have no access).
    Isaac Kuo, ICQ 29055726 or Yahoo mechdan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •