sirius1
May 17th, 2009, 02:21 PM
Ubuntu 8.04.1 Dell mini 9
Followed these directions: http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/
Now the restricted user can't even logon to their desktop. Error message when they attempt to login: User's $HOME/dmrc file is being ignored. This prevents the default session and langueage from being saved. File should be owned by user and have 644 permission.User's $HOME directory must be owned by user and not writable by other users.
I checked "OK" then got error message: The Gnome session manager was unable to lock the file '/home/ruser/.
iCE authority'. Please report this aas a GNOME bug. Sometimes this error may occur if the file's directory is unwritable, you could try logging in via the failsafe session and ensuring that it is. "OK"
Clicked "OK" arrived at my admin account prompting me for my password, entered and logged into my admin account to send this thread.
[CODE]
dharma@dharma:~$ cat/etc/sudoers
bash: cat/etc/sudoers: No such file or directory
dharma@dharma:~$ sudo cat /etc/sudoers
# /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
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
ALL ALL=NOPASSWD: /sbin/initctl emit boot-phase ui-started -n
Please help me undo my mistake, very grateful for your valued time.
Larry
Followed these directions: http://blog.bodhizazen.net/linux/how-to-restrict-access-with-rbash/
Now the restricted user can't even logon to their desktop. Error message when they attempt to login: User's $HOME/dmrc file is being ignored. This prevents the default session and langueage from being saved. File should be owned by user and have 644 permission.User's $HOME directory must be owned by user and not writable by other users.
I checked "OK" then got error message: The Gnome session manager was unable to lock the file '/home/ruser/.
iCE authority'. Please report this aas a GNOME bug. Sometimes this error may occur if the file's directory is unwritable, you could try logging in via the failsafe session and ensuring that it is. "OK"
Clicked "OK" arrived at my admin account prompting me for my password, entered and logged into my admin account to send this thread.
[CODE]
dharma@dharma:~$ cat/etc/sudoers
bash: cat/etc/sudoers: No such file or directory
dharma@dharma:~$ sudo cat /etc/sudoers
# /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
# Uncomment to allow members of group sudo to not need a password
# %sudo ALL=NOPASSWD: ALL
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
ALL ALL=NOPASSWD: /sbin/initctl emit boot-phase ui-started -n
Please help me undo my mistake, very grateful for your valued time.
Larry