Results 1 to 6 of 6

Thread: YaST/Strange auto log out

  1. #1

    Default YaST/Strange auto log out

    Hello! I've just started to use OpenSUSE and got almost everything working. However, I have a few questions.

    First of all, after a minute or so of the computer being inactive, a normal log-in screen appears, but if I move the mouse or do anything, it automatically gets me back in my session without requiring a password. Since I'm running on a home desktop computer and don't require any power-saving features or automatic log-outs, I've searched all over for a setting to change this. I found some things I thought would fix everything under Configure Desktop -> Power Management, but nothing changes. Anyone knows how to change this?
    - This may have to do with the fact that originally made the system log in automatically, however, this was changed and is not the case anymore.

    I suspect the solution lies in YaST, which leads me to my other doubt. I'm confused as to when I should go to YaST and when I should go to other settings. For instance, I recently found out that for my wifi card to work, I basically needed YaST to stop handling network things so that I could then use the network manager. So I don't know whether some YaST settings simply conflict with other settings, or if YaST is simply some sort of advanced settings editor that handles completely different things, or if YaST simply complements normal programs like it does with Zypper.

    Finally, I have one last doubt regarding SUDO: it asks me to enter my root password, were can this be changed?

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,580

    Default Re: YaST/Strange auto log out

    In Configure desktop-Display and Monitor- Screen Locker You can choose what you want I think it defaults to a simple Locker but you can choose a screen saver or nothing etc I n any case I think it is obvious when you get there.

    I assume you came from Ubuntu world so things are little different. In openSUSE there is a root user and you must enter the password to do system level changes. By default unless you told it different, the installer will set the root password the same as the first user password. So the short answer is you gotta enter root password with sudo

  3. #3

    Default Re: YaST/Strange auto log out

    Quote Originally Posted by gogalthorp View Post
    In Configure desktop-Display and Monitor- Screen Locker You can choose what you want I think it defaults to a simple Locker but you can choose a screen saver or nothing etc I n any case I think it is obvious when you get there.

    I assume you came from Ubuntu world so things are little different. In openSUSE there is a root user and you must enter the password to do system level changes. By default unless you told it different, the installer will set the root password the same as the first user password. So the short answer is you gotta enter root password with sudo
    *facepalm* Thanks! I do have a different root password. In Debian, once a user is added to the sudo group, you're only required to type in your own password when using sudo. Typing in the root password seems to make more sense, though, but I'd like to know if there's any option to change that, not that I really mind having to type the root password, I'd probably keep it that way.

  4. #4
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,580

    Default Re: YaST/Strange auto log out

    I have never played with it but there are setting in Yast that can change the behavior. However you can easily shoot yourself in the foot if you do things wrong. Also even though there is sudo most people use su - (note the dash to have the full root environment without gives current user with root powers) to become root for terminal operations. That way you don't have to retype a password for each command if you are using multiple system commands. Personally I never use sudo LOL

  5. #5
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: YaST/Strange auto log out

    freetrader wrote:
    >
    > gogalthorp;2587199 Wrote:
    >> In Configure desktop-Display and Monitor- Screen Locker You can choose
    >> what you want I think it defaults to a simple Locker but you can choose
    >> a screen saver or nothing etc I n any case I think it is obvious when
    >> you get there.
    >>
    >> I assume you came from Ubuntu world so things are little different. In
    >> openSUSE there is a root user and you must enter the password to do
    >> system level changes. By default unless you told it different, the
    >> installer will set the root password the same as the first user
    >> password. So the short answer is you gotta enter root password with
    >> sudo

    >
    > *facepalm* Thanks! I do have a different root password. In Debian, once
    > a user is added to the sudo group, you're only required to type in your
    > own password when using sudo. Typing in the root password seems to make
    > more sense, though, but I'd like to know if there's any option to change
    > that, not that I really mind having to type the root password, I'd
    > probably keep it that way.
    >
    >

    su -

    and then

    passwd root

    should do the trick

    --
    GNOME 3.6.2
    openSUSE Release 12.3 (Dartmouth) 64-bit
    Kernel Linux 3.7.10-1.16-desktop

  6. #6

    Default Re: YaST/Strange auto log out

    I do want a separate root password when doing things like su or other pure system administrative tasks, but not when doing things like downloading packages or other simple things with sudo. A bit of googling did the trick:
    SDB:Administer with sudo - openSUSE

    Debian seemed to have this like this by default, asking for the user's password when using "sudo" instead of the root password.

Posting Permissions

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