*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Cyn,
I think the main issue is still that I can't switch to su user and here are what I've got
huamin@:~ % shutdown now
/sbin/shutdown: Permission denied.
huamin@:~ % shutdown -r
/sbin/shutdown: Permission denied.
huamin@:~ % host -r
Usage: host [-aCdilrsTvw46] [-c class] [-N ndots] [-R number]
[-t type] [-W wait] name [server]
-a same as -v -t ANY
-C query SOA records from all authoritative name servers
-c use this query class (IN, CH, HS, etc)
-d produce verbose output, same as -v
-i use IP6.INT for IPv6 reverse lookups
-l list records in a zone via AXFR
-N consider names with at least this many dots as absolute
-R retry UDP queries this many times
-r disable recursive query
-s do not ignore SERVFAIL responses
-T send query via TCP
-t use this query type (A, AAAA, MX, etc)
-v produce verbose output
-w wait forever for a server reply
-W wait this many seconds for a reply
-4 use IPv4 only
-6 use IPv6 only
huamin@:~ % init 1
init: Operation not permitted
huamin@:~ %
The quick answer is Alt-F8, but please read at least Sec. 4.2.1 to understand why (it also assumes that you have configured a graphical login by which X was started). If Alt-F8 should produce a text screen filled with Xorg messages it probably means that the X login is not correctly configured - easiest to just kill it (kill ### from another console, or Ctrl-C from Alt-F8) and restart it with startx unless xdm restarts it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.