[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gNewSense-users] Booting Directly into The Terminal
From: |
Marco Bellumori |
Subject: |
Re: [gNewSense-users] Booting Directly into The Terminal |
Date: |
Sun, 7 Nov 2010 15:24:52 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
if not installed, sudo install e try /etc/sudoers this:
_____________________________________
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
user ALL=(root) NOPASSWD: /usr/sbin/xfsm-shutdown-helper
user ALL=(root) NOPASSWD: /sbin/shutdown
user ALL=(root) NOPASSWD: /sbin/halt
user ALL=(root) NOPASSWD: /sbin/reboot
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
#user ALL=(ALL) ALL
_____________________________________
"user" is your name.
regards
marco
On 07.11.10, 14:48, al3xu5 / dotcommon wrote:
> Il giorno domenica 07/11/2010 18:56:25 CET
> Siddharth <address@hidden> ha scritto:
>
> > On Sun, 2010-11-07 at 09:12 +1030, Karl Goetz wrote:
> [...]
> > I installed sysv-rc-conf and I disabled 'gdm' at runlevel 2 and my
> > computer is successfully booting directly into the Terminal and I able
> > to start GNOME with the 'startx' command, but now I am not able to
> > 'Shutdown' my system throught GNOME and to shutdown from the Terminal
> > I need Adminstrator's privilege,Therefore it is needed that I log in
> > to my other account ( with Adminstrator's privilege ) to shutdown my
> > system.Is there a way now,after disabling 'gdm' at runlevel 2,to
> > shutdown my system through GNOME without needing Adminstrator's
> > privilege ?, please give me directions.
>
> some ideas: using 'sudo shutdown' or changing the /etc/SUDOERS
> file...
>
> i do not know if there are better solutions
>
> regards
> al3xu5 / dotcommon
>
> --
> Support free software! Join FSF: http://www.fsf.org/jf?referrer=7535
> ______________________________________________________________________
> Public GPG/PGP key block
> ID: 1024D/11C70137
> Fingerprint: 60F1 B550 3A95 7901 F410 D484 82E7 5377 11C7 0137
> Key download: http://bitfreedom.noblogs.org/gallery/5721/dotcommon.asc
> [ Please, do not send my key to any keyserver! ]
>
> _______________________________________________
> gNewSense-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnewsense-users
--
==============================================
Marco Bellumori - aka coltem
Lucca-Italia
http://www.altertux.org
http://libreplanet.org/wiki/User:Coltem
jabber: address@hidden
-----------------------------------------
"tutti possono sbagliare",
come disse il riccio scendendo dalla spazzola.
==============================================