openSUSE Forums > Applications » yast ask for password

Go Back   openSUSE Forums > Applications
Forums FAQ Members List Search Today's Posts Mark Forums Read

Applications Questions about desktops (KDE, Gnome, XFCE, etc.), software applications (configuration, usage, bugs, documentation)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-Dec-2008, 07:59
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 15
zilli_daniel hasn't been rated much yet
Default yast ask for password

I tried put my user in the sudores file to avoid yast to ask for password every time i open it.. but no luck. I am using 11.1 with gnome.

any tip ?
best
Reply With Quote
  #2 (permalink)  
Old 21-Dec-2008, 10:10
ab@novell.com
Guest
 
Posts: n/a
Default Re: yast ask for password

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simply putting your user in the /etc/sudoers file doesn't mean you won't
get prompted for a password. In order to avoid a password prompt you
also must tell sudo (in the same sudoers file) that you don't want to be
prompted for a password. There is an example (commented out) in the
default /etc/sudoers file to let this work for the 'wheel' group members:

<quote source="/etc/sudoers" os="SLED 10 SP2 x86_64">
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
</quote>

Notice that it says everybody in the wheel group can run anything
anywhere and they can do it with no password prompt. Personally, as
seldom as you should be needing to use sudo in day-to-day stuff, I don't
think this option is necessary. You can also tell sudo to prompt for
your own user's password instead of the 'root' user's password which I
do recommend so casual passers-by don't suddenly start running sudo
nuking your system, and so you have a second to consider if the command
you are running is really necessary and setup properly with 'root'
privileges.

Good luck.





zilli daniel wrote:
> I tried put my user in the sudores file to avoid yast to ask for
> password every time i open it.. but no luck. I am using 11.1 with gnome.
>
>
> any tip ?
> best
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJTnhq3s42bA80+9kRAp26AJ95QxPbTsRujT39n8x5Kn ULsA726wCaA9VG
nXJHHQhbTSPR+9q+xjnW7QE=
=Shjm
-----END PGP SIGNATURE-----
Reply With Quote
  #3 (permalink)  
Old 21-Dec-2008, 18:11
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 15
zilli_daniel hasn't been rated much yet
Default Re: yast ask for password

thank you for your explanation but didn't work. In this link
i have the solution for KDE, but not to GNOME.

Default kdesu to use sudo and not su | Ben Kevan's Blog

:-(
Reply With Quote
  #4 (permalink)  
Old 21-Dec-2008, 23:14
didencool's Avatar
Busy Penguin
 
Join Date: Jul 2008
Location: ukraine/mk/pervomaysk
Posts: 289
didencool hasn't been rated much yet
Default Re: yast ask for password

@Mon, 22 Dec 2008 01:16:02 +0000, zilli daniel write:

> thank you for your explanation but didn't work. In this link i have the
> solution for KDE, but not to GNOME.
>
> 'Default kdesu to use sudo and not su | Ben Kevan's Blog'
> (http://www.benkevan.com/blog/default...do-and-not-su/)
>
> :-(


I did not understand why you have a problem with this... I have sudo with no pass working good...

open yast2 now(/sbin/yast2) alt+F2
Security&Users>Sudo

window appear

press add

new window appear

Users, Group - %UserNamethatRunSudo
Host- ALL
RunAs-ALL
click in box with no password

Add command(button) - put "ALL" in upper field

PS
is this what you want?
--
WBR
Reply With Quote
  #5 (permalink)  
Old 22-Dec-2008, 00:22
Puzzled Penguin
 
Join Date: Jun 2008
Location: stuttgart, germany
Posts: 18
dillj hasn't been rated much yet
Default Re: yast ask for password

I think he wants the same as when logged in as root.
no password prompts to bug you.
correct me if I am wrong.
you might as well log in as root
__________________
danger! brain at work... what brain?
Reply With Quote
  #6 (permalink)  
Old 22-Dec-2008, 06:24
hcvv's Avatar
Wise Penguin
 
Join Date: Jun 2008
Location: Netherlands
Posts: 1,107
hcvv hasn't been rated much yet
Default Re: yast ask for password

Log in as root ?!?!?!?
__________________
Henk van Velden
Reply With Quote
  #7 (permalink)  
Old 22-Dec-2008, 08:10
Puzzled Penguin
 
Join Date: Dec 2008
Posts: 15
zilli_daniel hasn't been rated much yet
Default Re: yast ask for password

dillj is right...

just look this link
Default kdesu to use sudo and not su | Ben Kevan's Blog

and you will know what i am talking...
Reply With Quote
Reply


Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2